forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix supports_capture assuming MetricsCapture class
The supports :capture block assumes that the MetricsCapture class always exists even if metrics capture is unsupported which is not the case. Modify the block to check for the existence of the metrics capture class before checking its instance methods. Also fix the unsupported_reason_add setting the reason to the wrong feature key (:metrics when should have been :capture). Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638045
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters