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

[V2V] Remove check of task.options[:collapse_snapshots] #564

Conversation

ghost
Copy link

@ghost ghost commented Aug 22, 2019

The method /Transformation/Infrastructure/VM/Common/CollapseSnapshots checks that task.options[:collapse_snapshots] is true. No code set this value so it will always fail if VM has snapshots.

This PR removes the check, because snapshot removal is mandatory.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1744563

@ghost
Copy link
Author

ghost commented Aug 22, 2019

@miq-bot add-label transformation, bug, ivanchuk/yes, blocker

@miq-bot
Copy link
Member

miq-bot commented Aug 22, 2019

Checked commit fabiendupont@bde2116 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@gmcculloug gmcculloug self-assigned this Aug 22, 2019
@coveralls
Copy link

coveralls commented Aug 22, 2019

Pull Request Test Coverage Report for Build 3482

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.9%

Totals Coverage Status
Change from base Build 3480: 0.0%
Covered Lines: 2970
Relevant Lines: 3065

💛 - Coveralls

@gmcculloug gmcculloug merged commit d2d7a4b into ManageIQ:master Aug 22, 2019
@gmcculloug gmcculloug added this to the Sprint 119 Ending Sep 2, 2019 milestone Aug 22, 2019
simaishi pushed a commit that referenced this pull request Aug 23, 2019
…ion_collapse_snapshots

[V2V] Remove check of task.options[:collapse_snapshots]

(cherry picked from commit d2d7a4b)

https://bugzilla.redhat.com/show_bug.cgi?id=1744563
@simaishi
Copy link
Contributor

Ivanchuk backport details:

$ git log -1
commit e74d88e3b93c4295302c3b972dc609f4af872fd1
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Aug 22 10:08:10 2019 -0400

    Merge pull request #564 from fdupont-redhat/v2v_remove_check_task_option_collapse_snapshots
    
    [V2V] Remove check of task.options[:collapse_snapshots]
    
    (cherry picked from commit d2d7a4beedde0618600064814438fa3f2f691ae1)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1744563

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.

None yet

6 participants