Skip to content

Commit

Permalink
rebasing and small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Jun 10, 2024
1 parent f3f570b commit 07762e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func DeleteTestBucketForDynamicMounting(ctx context.Context, client *storage.Cli
it := bucket.Objects(ctx, query)
for {
objAttrs, err := it.Next()
if strings.Contains(err.Error(), "no more items in iterator") {
if err != nil && strings.Contains(err.Error(), "no more items in iterator") {
break // No more objects
}
if err != nil {
Expand Down

0 comments on commit 07762e8

Please sign in to comment.