-
Notifications
You must be signed in to change notification settings - Fork 897
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
Fix task name for task that create Tower project #14656
Conversation
@@ -60,7 +60,7 @@ def update_in_provider(params) | |||
end | |||
|
|||
def update_in_provider_queue(params) | |||
action = "Updating #{self.class.name} with manager_ref=#{manager_ref}" | |||
action = "Updating #{self.class.name} with Tower internal reference=#{manager_ref}" |
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.
Why is this changing?
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.
I think manager_ref
wouldn't mean much to an end user as seen here.
@miq-bot add_labels fine/yes |
@@ -14,7 +14,7 @@ def create_in_provider(manager_id, params) | |||
|
|||
def create_in_provider_queue(manager_id, params) | |||
manager = ExtManagementSystem.find(manager_id) | |||
action = "Creating #{name} with name=#{params[:name]}" | |||
action = "Creating #{name} with name=#{params[:name] || params['name']}" |
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.
Hrm, I saw this in another PR. I don't like the fact that we don't know whether the param keys will be strings or symbols. That seems like an easy thing to fix. The MIQ UI and API should be sending param keys consistently.
This pull request is not mergeable. Please rebase and repush. |
Checked commit jameswnl@c82a085 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Fix task name for task that create Tower project (cherry picked from commit bb7748e)
Fine backport details:
|
@jameswnl @bdunne I meant to ask about #14453, but pushed the backport by mistake. I think this PR depends on #14453 as Either I can revert this backport, backport #14453 as well or you can fix this differently... Please let me know. I'm sorry! |
Fix task name for task that create Tower project (cherry picked from commit bb7748e)
@jameswnl thanks. backported #14453, then this PR again to pick up the missed file.
|
https://bugzilla.redhat.com/show_bug.cgi?id=1439203
Fix that plus using
Tower internal reference
in stead of the ambiguousmanager_ref
@miq-bot add_labels bug, providers/ansible_tower