-
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
Add option to clear classifications for tag_details #17465
Add option to clear classifications for tag_details #17465
Conversation
6cceca6
to
e778bca
Compare
e778bca
to
3d2adc4
Compare
@miq-bot add_label bug, gaprindashvili/yes |
3d2adc4
to
28fdf79
Compare
@gtanzillo - please review |
lib/miq_expression.rb
Outdated
@@ -876,6 +876,9 @@ def self._model_details(relats, opts) | |||
|
|||
def self.tag_details(path, opts) | |||
result = [] | |||
if opts[:clear_classifications] |
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.
This looks good. However, maybe there's a better name for this option? Something like-
clear_cache
or :no_cache
or without_cache
Checked commits lgalis/manageiq@6749091~...7c44451 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@gtanzillo - changed the option name to :no_cache |
…ions Add option to clear classifications for tag_details (cherry picked from commit e5adfd2) https://bugzilla.redhat.com/show_bug.cgi?id=1591495
Gaprindashvili backport details:
|
Add option to clear classifications for tag_details
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1579867