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 constraint to vendor in Physical Server #15128

Merged
merged 1 commit into from
May 30, 2017
Merged

Add constraint to vendor in Physical Server #15128

merged 1 commit into from
May 30, 2017

Conversation

walteraa
Copy link
Member

@walteraa walteraa commented May 17, 2017

The vendors values before could be any value, it caused a bug that inconsistent values for vendors was resulting in nil objects when use it as key for VENDOR_TYPES.

Now the vendor values are restricted to VENDOR_TYPES keys, avoiding a mismatch key.

Depends on: ManageIQ/manageiq-providers-lenovo#54

Make the value of vendor restricted to VENDOR_TYPES values to avoid nil references.
@miq-bot
Copy link
Member

miq-bot commented May 17, 2017

Checked commit https://github.com/lenovo/manageiq/commit/2e209e032d59b333d74d7e4d27c91210611706c6 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@bronaghs
Copy link

@miq-bot assign @juliancheal

@miq-bot miq-bot assigned juliancheal and unassigned bronaghs May 18, 2017
@juliancheal
Copy link
Member

LGTM 👍 ManageIQ/manageiq-providers-lenovo#54 is merged.

@juliancheal
Copy link
Member

I can't merge PRs in manageiq, but if someone else with the big green button can, this PR LGTM.

@bronaghs
Copy link

Great - thanks @juliancheal

@blomquisg - can you merge please?

@bdunne bdunne assigned bdunne and unassigned juliancheal May 30, 2017
@bdunne bdunne merged commit 5576901 into ManageIQ:master May 30, 2017
@bdunne bdunne added this to the Sprint 62 Ending Jun 5, 2017 milestone May 30, 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.

5 participants