Complete the revert of "Support Ceilometer API"
This partly reverts commitd32ca24453
. The rest of the revert is in9b50734bf7
. This partial revert is because the changes to aodh/api/controllers/v2/alarm_rules/composite.py were omitted in the original revert. Change-Id: I181380747bd9f613239de87fa931f75e7d97ff7d
This commit is contained in:
parent
32236c3986
commit
27b3cd2fcf
|
@ -41,8 +41,7 @@ class CompositeRule(wtypes.UserType):
|
|||
threshold_plugins = None
|
||||
|
||||
def __init__(self):
|
||||
threshold_rules = ('threshold',
|
||||
'gnocchi_resources_threshold',
|
||||
threshold_rules = ('gnocchi_resources_threshold',
|
||||
'gnocchi_aggregation_by_metrics_threshold',
|
||||
'gnocchi_aggregation_by_resources_threshold')
|
||||
CompositeRule.threshold_plugins = named.NamedExtensionManager(
|
||||
|
|
Loading…
Reference in New Issue