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

OpenStack storage: remap standard Fog attributes (max_keys => limit) #3722

Closed

Conversation

mtekel
Copy link

@mtekel mtekel commented Oct 14, 2015

Add remapping of standard Fog attributes, like max_keys, to directories.
This way users are not forced to add custom 'limit' attributes into the
higher level calls they make. This is important, as you might want to
write code that's compatible with multiple cloud providers. Explicitly
including 'limit' attribute breaks some APIs (e.g. Google Cloud Storage).
With this PR you can use standard fog max_keys to achieve limit functionality on
OpenStack SWIFT.

Note: this has not been fully tested and likely needs a bit more work.

Add remapping of standard Fog attributes, like max_keys, to directories.
This way users are not forced to add custom 'limit' attributes into the
higher level calls they make. This is important, as you might want to
write code that's compatible with multiple cloud providers. Explicitly
including 'limit' attribute breaks some APIs (e.g. Google Cloud Storage).
Now you can use standard fog max_keys to achieve limit functionality on
OpenStack SWIFT.
@mtekel
Copy link
Author

mtekel commented Oct 14, 2015

Closing till fixed.

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

Successfully merging this pull request may close these issues.

None yet

1 participant