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

Get tag details for no specific model #15788

Merged
merged 6 commits into from
Aug 11, 2017

Conversation

imtayadeway
Copy link
Contributor

Resolves https://www.pivotaltracker.com/story/show/148795011

Best viewed as a series of commits, because some refactorings were needed to make this happen. Basically, .tag_details had a control parameter, model, only used to decide whether to return early with an empty array. By moving this out of the method and onto the callers, nothing further was needed in order for this method to return the right thing when no specific model is known.

@miq-bot assign @gtanzillo
@miq-bot add-label enhancement

@miq-bot
Copy link
Member

miq-bot commented Aug 10, 2017

Checked commits imtayadeway/manageiq@22bb9ea~...4b00305 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

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

Looks really good 👍

@gtanzillo gtanzillo added this to the Sprint 67 Ending Aug 21, 2017 milestone Aug 11, 2017
@gtanzillo gtanzillo merged commit c0bf6a7 into ManageIQ:master Aug 11, 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