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 missing do_disconnect check in link_inventory #16726

Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Jan 2, 2018

Fixes an issue found by #16718
where relationships are deleted even though disconnect is false.

This should fix the failing manageiq-providers-vmware spec test:
https://travis-ci.org/ManageIQ/manageiq-providers-vmware/jobs/323975743#L2282-L2292

@agrare
Copy link
Member Author

agrare commented Jan 2, 2018

cc @blomquisg

@agrare agrare force-pushed the fix_missing_disconnect_check_link_inventory branch 2 times, most recently from e9d4ea2 to 65e4a1e Compare January 2, 2018 18:23
@borod108
Copy link

borod108 commented Jan 3, 2018

Please note this also fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1517901

There is a spec for this here:
ManageIQ/manageiq-providers-ovirt#185

and I think we need it in gaprindashvili

@agrare agrare force-pushed the fix_missing_disconnect_check_link_inventory branch from 65e4a1e to a0e482e Compare January 3, 2018 13:33
Fixes an issue found by ManageIQ#16718
where relationships are deleted even though disconnect is false.
@agrare agrare force-pushed the fix_missing_disconnect_check_link_inventory branch from a0e482e to 6e27afc Compare January 3, 2018 18:36
@miq-bot
Copy link
Member

miq-bot commented Jan 3, 2018

Checked commit agrare@6e27afc with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@Fryguy Fryguy merged commit 20b7f84 into ManageIQ:master Jan 3, 2018
@Fryguy Fryguy added this to the Sprint 77 Ending Jan 15, 2018 milestone Jan 3, 2018
@agrare agrare deleted the fix_missing_disconnect_check_link_inventory branch January 3, 2018 19:23
simaishi pushed a commit that referenced this pull request Jan 3, 2018
…nk_inventory

Fix missing do_disconnect check in link_inventory
(cherry picked from commit 20b7f84)
@simaishi
Copy link
Contributor

simaishi commented Jan 3, 2018

Gaprindashvili backport details:

$ git log -1
commit a51d5502360149289c63de607274518a983d1f5e
Author: Jason Frey <[email protected]>
Date:   Wed Jan 3 14:23:11 2018 -0500

    Merge pull request #16726 from agrare/fix_missing_disconnect_check_link_inventory
    
    Fix missing do_disconnect check in link_inventory
    (cherry picked from commit 20b7f844674b3333b4a8098013c71c6fc2479aad)

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.

6 participants