You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that the setMetadata function (https://github.com/ncw/swift/blob/master/swifttest/server.go#L194) for the test version of swift object storage does not work the same way as swift object storage or like how the documentation reads when it comes to changing metadata on an object.
If you look at the documentation updating metadata on a container works different from when updating it on an object:
updates current metadata with provided metadata, removes if a meta's value is ""
The swifttest's setMetadata function is used both for updating object and container and it works correctly for the container but not for updating metadata on an object.
Cheers
The text was updated successfully, but these errors were encountered:
@ncw It was causing some problem but also helped push me over to start testing with a connection to a real object store instead of the library's mock-version.
Noticed that the setMetadata function (https://github.com/ncw/swift/blob/master/swifttest/server.go#L194) for the test version of swift object storage does not work the same way as swift object storage or like how the documentation reads when it comes to changing metadata on an object.
If you look at the documentation updating metadata on a container works different from when updating it on an object:
The swifttest's setMetadata function is used both for updating object and container and it works correctly for the container but not for updating metadata on an object.
Cheers
The text was updated successfully, but these errors were encountered: