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

Added necessary supports command #150

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

TonySchneider
Copy link
Member

@TonySchneider TonySchneider commented Jun 16, 2022

As part of the implementation of the new validation physical storage button. I need to add this 'supports :validate' command in order to use the 'supports' method in manageiq-api branch.

linked repos:

@TonySchneider
Copy link
Member Author

@miq-bot
Copy link
Member

miq-bot commented Jun 16, 2022

Checked commit Autosde@fbe501a with ruby 2.6.9, rubocop 1.19.1, haml-lint 0.35.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@agrare agrare self-assigned this Jun 22, 2022
@agrare
Copy link
Member

agrare commented Jun 22, 2022

@TonySchneider can you add supports_not :validate to the base PhysicalStorage model? This allows us to ask .supports?(:validate) on any instance of PhysicalStorage

Specifically under this line: https://github.com/ManageIQ/manageiq/blob/master/app/models/physical_storage.rb#L37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants