Correct help string about insufficient_data
Replace insufficient_data to insufficient data in parameter "--state" of alarm-create/alarm-combination-create/alarm-threshold-create help sting. Change-Id: Ica0ea14d19a3a6cac9491d5cbdc3be23b5c91b60 Closes-bug: #1290230
This commit is contained in:
@@ -29,7 +29,7 @@ from ceilometerclient.openstack.common import strutils
|
||||
from ceilometerclient.v2 import options
|
||||
|
||||
|
||||
ALARM_STATES = ['ok', 'alarm', 'insufficient_data']
|
||||
ALARM_STATES = ['ok', 'alarm', 'insufficient data']
|
||||
ALARM_OPERATORS = ['lt', 'le', 'eq', 'ne', 'ge', 'gt']
|
||||
ALARM_COMBINATION_OPERATORS = ['and', 'or']
|
||||
STATISTICS = ['max', 'min', 'avg', 'sum', 'count']
|
||||
@@ -358,7 +358,7 @@ def common_alarm_arguments(create=False):
|
||||
dest='insufficient_data_actions',
|
||||
metavar='<Webhook URL>', action='append', default=None,
|
||||
help=('URL to invoke when state transitions to '
|
||||
'insufficient_data. May be used multiple times.'))
|
||||
'insufficient data. May be used multiple times.'))
|
||||
@utils.arg('--time-constraint', dest='time_constraints',
|
||||
metavar='<Time Constraint>', action='append',
|
||||
default=None,
|
||||
|
||||
Reference in New Issue
Block a user