Skip to content

Commit 11dcb85

Browse files
committed
fix target file enumeration for immutability check in large containers
1 parent 77dbb25 commit 11dcb85

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Changes:
1111

1212
Bugfixes:
1313
- Percent-encoded URLs in directory listings are now decoded correctly.
14+
- An issue was fixed where the immutability regex was not always respected for large containers.
1415

1516
# v2.0 (2017-10-16)
1617

pkg/objects/swift.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func (s *SwiftLocation) DiscoverExistingFiles(matcher Matcher) error {
239239
prefix += "/"
240240
}
241241

242-
paths, err := s.Connection.ObjectNames(s.ContainerName, &swift.ObjectsOpts{
242+
paths, err := s.Connection.ObjectNamesAll(s.ContainerName, &swift.ObjectsOpts{
243243
Prefix: prefix,
244244
})
245245
if err != nil {

0 commit comments

Comments
 (0)