mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 05:36:50 +08:00
Removing completed todos.
This commit is contained in:
@@ -1205,9 +1205,7 @@ func (c *Client) ListFiles(namespace, key string) (files []*File, err error) {
|
||||
}
|
||||
bucketFiles := gcsClient.Bucket(config.ArtifactRepository.GCS.Bucket).Objects(ctx, q)
|
||||
|
||||
//iterate and get files?
|
||||
//Check for files are done. todo
|
||||
for true { //todo exit condition
|
||||
for true {
|
||||
file, err := bucketFiles.Next()
|
||||
if err != nil {
|
||||
if err.Error() == "no more items in iterator" {
|
||||
|
Reference in New Issue
Block a user