Bug 1433196

Summary: :terminate defined twice in supports_feature_mixin.rb
Product: Red Hat CloudForms Management Engine Reporter: Brant Evans <brant.evans>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: gblomqui, jfrey, jhardy, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-23 14:52:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brant Evans 2017-03-17 03:45:35 UTC
Description of problem:
In the /var/www/miq/vmdb/app/models/mixins/supports_feature_mixin.rb the :terminate key in the QUERYABLE_FEATURES hash is defined twice (line 103 and 111). This causes a warning to be displayed when the file is loaded.

/var/www/miq/vmdb/app/models/mixins/supports_feature_mixin.rb:103: warning: key :terminate is duplicated and overwritten on line 111

Version-Release number of selected component (if applicable):
cfme-5.7.1.3-1.el7cf.x86_64

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
Warning message output

Expected results:
No warning message

Additional info:

Comment 2 Marcel Hild 2017-03-23 14:39:34 UTC
I should make it fail hard

Comment 3 Marcel Hild 2017-03-23 14:52:41 UTC
already fixed via https://bugzilla.redhat.com/show_bug.cgi?id=1420284

*** This bug has been marked as a duplicate of bug 1420284 ***