Conversation
|
Thanks @gekola. I'm ok with this, though I think you should probably pass that option through to the Keystone v2 method as well. |
e56f27f to
ce4c446
Compare
|
Thanks for the feedback, @seanhandley. I updated the PR to also apply port omitting option to the Keystone v2 method. |
|
Ok great. And what's the motivation for putting the userid attribute into the storage class? |
|
I ask because I'm not sure why it isn't present in the compute, image, network etc |
|
@seanhandley while working with Carrierwave and Paperclip there is a warning |
|
Ok thanks @gekola - Thumbs up from me 👍 We'll maybe look at re-architecting the gem a little so the parameters aren't duplicated between OpenStack projects. |
| tenant_name = options[:openstack_tenant].to_s | ||
| auth_token = options[:openstack_auth_token] || options[:unscoped_token] | ||
| uri = options[:openstack_auth_uri] | ||
| omit_default_port = options[:openstack_auth_omit_default_port] |
There was a problem hiding this comment.
indentation nit, we should have rubocop soon, could you indent all = the same? Applies to all below
@seanhandley hm, what are we missing to get rubocop running for each PR?
|
@gekola just last comments, then I am ready to merge :-) |
* Fix 500 due to port in Host header for bluemix object storage * Recognize userid as argument
71f7494 to
e634787
Compare
|
@Ladas You need to run rubocop from Travis on each build afaik but I've never done it myself (I use a custom integration with RubyCritic and Slack for my commercial projects). From the looks, you can reference rubocop in the .travis.yml and then pass it arguments to configure how strict you need it to be. |
|
@seanhandley @Ladas you can see an example of using rubocop with travis in rubocop repository. I do not think adding rubocop check to CI it is a good idea at this point as there are too many offenses in the code, so the build would always fail. |
|
@gekola awesome, thank you :-) @gekola @seanhandley btw. for ManageIQ the rubocop runs only on the lines changed by the PR, so we can incrementally make it better. I will ask the guys how to setup that. |
This is #1 with making port omitting optional.