-
Notifications
You must be signed in to change notification settings - Fork 898
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
Core fixes for infra graph refresh #17870
Core fixes for infra graph refresh #17870
Conversation
@@ -132,6 +132,8 @@ def collect_inventory_for_targets(ems, targets) | |||
# override this method and return an array of: | |||
# [[target1, inventory_for_target1], [target2, inventory_for_target2]] | |||
|
|||
return [[ems, nil]] unless refresher_options.inventory_object_refresh |
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.
If there wasn't a collect_inventory_for_targets
method this would always use graph refresh even if it was disabled in settings.
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.
👍
Hey @gtanzillo can you take a look? |
@agrare I can merge once the conflicts are resolved |
d0da4c4
to
babdd06
Compare
Checked commits agrare/manageiq@4bc7387~...babdd06 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@gtanzillo thanks I didn't notice it was conflicting, rebased and green |
Some fixes to the infra inventory_collections for InfraManager graph refresh
Needed for: