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

Fix call to transformation_log_queue #926

Merged
merged 1 commit into from
Apr 3, 2019
Merged

Fix call to transformation_log_queue #926

merged 1 commit into from
Apr 3, 2019

Conversation

djberg96
Copy link
Contributor

@djberg96 djberg96 commented Apr 3, 2019

The ServiceTemplateTransformationPlanTask#transformation_log_queue method takes two fixed arguments - a userid and log type - rather than a hash of options. You can see the definition here:

https://github.com/ManageIQ/manageiq/blob/master/app/models/service_template_transformation_plan_task.rb#L139

I also added some comments.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1655124

WIP for now until I can confirm that this works as expected.

@miq-bot miq-bot added the wip label Apr 3, 2019
@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2019

Checked commit https://github.com/djberg96/manageiq-v2v/commit/1635e0d38604ee291163d56e8b2827a171414f4d with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Rubocop - missing config files

@ghost
Copy link

ghost commented Apr 3, 2019

@djberg96 I confirm it works. The related BZs are:

@djberg96 djberg96 changed the title [WIP] Fix call to transformation_log_queue Fix call to transformation_log_queue Apr 3, 2019
@miq-bot miq-bot removed the wip label Apr 3, 2019
@djberg96
Copy link
Contributor Author

djberg96 commented Apr 3, 2019

@miq-bot add_label transformation bug hammer/yes

@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2019

@djberg96 Cannot apply the following label because they are not recognized: transformation bug hammer/yes

@djberg96
Copy link
Contributor Author

djberg96 commented Apr 3, 2019

@miq-bot add_reviewer @fdupont-redhat

@djberg96
Copy link
Contributor Author

djberg96 commented Apr 3, 2019

@miq-bot add_label transformation, bug, hammer/yes

@djberg96
Copy link
Contributor Author

djberg96 commented Apr 3, 2019

@miq-bot add_reviewer @mturley

@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2019

@djberg96 'fdupont-redhat' is an invalid reviewer, ignoring...

Copy link
Contributor

@mturley mturley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mturley mturley merged commit 2f3137c into ManageIQ:master Apr 3, 2019
@mturley mturley added bz Issues filed by QE or having a BZ v1.2 z-stream labels Apr 3, 2019
simaishi pushed a commit that referenced this pull request Apr 5, 2019
@simaishi
Copy link
Contributor

simaishi commented Apr 5, 2019

Hammer backport details:

$ git log -1
commit 46eba2e504e81db8d96866c5b76550fe32577676
Author: Mike Turley <[email protected]>
Date:   Wed Apr 3 14:01:44 2019 -0400

    Merge pull request #926 from djberg96/transformation_log_fix
    
    Fix call to transformation_log_queue
    
    (cherry picked from commit 2f3137ca777a01608aba19e60100c2f517a7c624)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1686045

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

Successfully merging this pull request may close these issues.

5 participants