Removing completed todos.

This commit is contained in:
Aleksandr Melnikov
2020-07-10 17:53:33 -07:00
parent 7936eac98d
commit 7a8df485ad

View File

@@ -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" {