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

Add nil checks for manager_uuids and references #15934

Merged

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Sep 4, 2017

Add nil checks for manager_uuids and references, nil references lead to non existent elements, so we don't want them stored.

Also some events could cause a nil reference leading to failed refresh, so this is a bugfix for targeted refresh.

@Ladas
Copy link
Contributor Author

Ladas commented Sep 4, 2017

@miq-bot assign @agrare
@miq-bot add_label bug

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

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

LGTM

@agrare
Copy link
Member

agrare commented Sep 5, 2017

@Ladas can you look at the spec failures? They seem legitimate

@Ladas
Copy link
Contributor Author

Ladas commented Sep 5, 2017

@agrare yes, will do

Add nil checks for manager_uuids and references, nil references
lead to non existent elements, so we don't want them stored.
@Ladas Ladas force-pushed the add_nil_check_for_manager_uuids_and_references branch from 7d8dce0 to 17c884a Compare September 26, 2017 15:03
@miq-bot
Copy link
Member

miq-bot commented Sep 26, 2017

Checked commit Ladas@17c884a with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@agrare agrare added this to the Sprint 70 Ending Oct 2, 2017 milestone Sep 26, 2017
agrare added a commit to agrare/manageiq that referenced this pull request Sep 26, 2017
…r_uuids_and_references

Add nil checks for manager_uuids and references
@agrare agrare merged commit 17c884a into ManageIQ:master Sep 26, 2017
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.

3 participants