From bdd003b02a045d4bb711bb5da35f7235a61ac6c1 Mon Sep 17 00:00:00 2001 From: lvdongbing Date: Tue, 8 Dec 2015 03:01:45 -0500 Subject: [PATCH] Cluster's timeout is in seconds not minutes In the help msg of cluster_create and cluster_update, timeout is described in minutes, but actually it's in seconds, this patch fixes the issue. Closes-Bug: #1523791 Change-Id: I8bb1f1da59aad902f2bb5068dc941f09e17cc638 --- senlinclient/v1/shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 9f7450fd..32ce39a3 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -564,7 +564,7 @@ def _show_cluster(sc, cluster_id): @utils.arg('-o', '--parent', metavar='', help=_('ID of the parent cluster, if exists.')) @utils.arg('-t', '--timeout', metavar='', type=int, - help=_('Cluster creation timeout in minutes.')) + help=_('Cluster creation timeout in seconds.')) @utils.arg('-M', '--metadata', metavar='', help=_('Metadata values to be attached to the cluster. ' 'This can be specified multiple times, or once with ' @@ -613,7 +613,7 @@ def do_cluster_delete(sc, args): @utils.arg('-p', '--profile', metavar='', help=_('ID of new profile to use.')) @utils.arg('-t', '--timeout', metavar='', - help=_('New timeout (in minutes) value for the cluster.')) + help=_('New timeout (in seconds) value for the cluster.')) @utils.arg('-r', '--parent', metavar='', help=_('ID of parent cluster for the cluster.')) @utils.arg('-M', '--metadata', metavar='',