Bug 1433196 - :terminate defined twice in supports_feature_mixin.rb
Summary: :terminate defined twice in supports_feature_mixin.rb
Keywords:
Status: CLOSED DUPLICATE of bug 1420284
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: cfme-future
Assignee: Marcel Hild
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-17 03:45 UTC by Brant Evans
Modified: 2017-12-21 14:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 14:52:41 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.