Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swifttest setMetadata not working correctly for object metadata #107

Open
Mousaka opened this issue Dec 3, 2017 · 3 comments
Open

Swifttest setMetadata not working correctly for object metadata #107

Mousaka opened this issue Dec 3, 2017 · 3 comments

Comments

@Mousaka
Copy link

Mousaka commented Dec 3, 2017

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

@ncw
Copy link
Owner

ncw commented Dec 13, 2017

Is this causing you a problem?

Can you send a PR to fix?

@Mousaka
Copy link
Author

Mousaka commented Dec 19, 2017

@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.

I might be able to send a PR next week!

@ncw
Copy link
Owner

ncw commented Dec 19, 2017

I might be able to send a PR next week!

That would be great :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants