From ea9d4f912d13fef508ac772b6d9c7fc2b8e57368 Mon Sep 17 00:00:00 2001 From: Mayuri Ganguly Date: Wed, 18 Feb 2015 17:20:03 -0800 Subject: [PATCH] Changed documentation for datastore parameter for configuration-create The datastore parameter for configuration-create is documented as optional but is required if there is no default datastore. Changed documentation to handle this case. Closes-bug 1365702 Change-Id: I8d7869b77eeba8c5be510093d42ff6486f529b6d --- troveclient/v1/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py index 5f781422..d945c9fe 100644 --- a/troveclient/v1/shell.py +++ b/troveclient/v1/shell.py @@ -954,7 +954,8 @@ def do_configuration_attach(cs, args): @utils.arg('values', metavar='', help='Dictionary of the values to set.') @utils.arg('--datastore', metavar='', - help='Datastore assigned to the configuration group.') + help='Datastore assigned to the configuration group. Required if ' + 'default datastore is not configured.') @utils.arg('--datastore_version', metavar='', help='Datastore version ID assigned to the configuration group.') @utils.arg('--description', metavar='',