summaryrefslogtreecommitdiff
path: root/ceilometerclient/v2/shell.py
diff options
context:
space:
mode:
authorliu-sheng <liusheng@huawei.com>2014-04-20 16:08:59 +0800
committerliu-sheng <liusheng@huawei.com>2014-04-28 14:26:09 +0800
commitd2ab9b7e7524f9d1c01d0692f927d26f0f826cbb (patch)
tree3b0fba0498ce6f6a1a815defb32a6953363283ab /ceilometerclient/v2/shell.py
parent212b0190d7abd461af787b88ace4e34b46659815 (diff)
downloadpython-ceilometerclient-d2ab9b7e7524f9d1c01d0692f927d26f0f826cbb.tar.gz
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
Diffstat (limited to 'ceilometerclient/v2/shell.py')
-rw-r--r--ceilometerclient/v2/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceilometerclient/v2/shell.py b/ceilometerclient/v2/shell.py
index de44c51..919a4c7 100644
--- a/ceilometerclient/v2/shell.py
+++ b/ceilometerclient/v2/shell.py
@@ -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,