-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
storage: add openstack_storage_url option #454
base: master
Are you sure you want to change the base?
Conversation
lib/fog/openstack/core.rb
Outdated
@@ -237,6 +230,19 @@ def authenticate | |||
|
|||
true | |||
end | |||
|
|||
protected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/EmptyLinesAroundAccessModifier: Keep a blank line before and after protected.
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
lib/fog/openstack/core.rb
Outdated
@@ -237,6 +230,20 @@ def authenticate | |||
|
|||
true | |||
end | |||
|
|||
protected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I missed something I believe private
should be enough.
This looks good. Just a question, see above conversation. |
Signed-off-by: Julien 'Lta' BALLET <contact@lta.io>
Signed-off-by: Julien 'Lta' BALLET <contact@lta.io>
ae76c75
to
48924b0
Compare
Build succeeded.
|
@ShamoX seems reasonable to me and should be backwards compatible, thoughts? |
Yes, seems good, but adding a test like @gildub proposed would improve confidence. @elthariel still need help here to do it (even after @gildub proposition) ? |
In order to support ACL management in my provider (OVH), I need to have users in a different tenant and I need to use another base URL for my storage calls. In the python client it is implemented using the OS_STORAGE_URL.
This is the equivalent option for fog.
I don't really know how to add tests to this, suggestions are highly welcomed
Signed-off-by: Julien 'Lta' BALLET contact@lta.io