Skip to content

Commit

Permalink
fix list
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro committed Nov 12, 2024
1 parent fe88e52 commit 0f36907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ func listCommonPrefix(store object.ObjectStorage, prefix string, cp chan object.
total = append(total, objs...)
marker = objs[len(objs)-1].Key()
}
if !hasMore {
if !hasMore || marker == "" {
break
}
}
Expand Down

0 comments on commit 0f36907

Please sign in to comment.