summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2016-08-15 17:38:45 +0000
committerJuha Kosonen <juha.kosonen@nokia.com>2016-08-15 17:40:28 +0000
commit399d59d06fe1e49007a0bc165b095cdf92a7453a (patch)
tree5b0ac4ff4f0819454d04ac5e7ae0d0f48da05cf0
parent4085c3ba8d777b61af7a35be582d2c2007f19fad (diff)
Update cli output text
Show correct command for creating snapshot in output when snapshot is required but not yet created. Change-Id: I3418406ca3370968248749ec1fdb30196b7d3a00 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
-rw-r--r--cli/commands/cli_os.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/commands/cli_os.py b/cli/commands/cli_os.py
index b007842b3..722c700cd 100644
--- a/cli/commands/cli_os.py
+++ b/cli/commands/cli_os.py
@@ -106,7 +106,8 @@ class CliOpenStack:
def snapshot_show(self):
if not os.path.isfile(OS_SNAPSHOT_FILE):
click.echo("There is no OpenStack snapshot created. To create "
- "one run the command 'functest env os-create-snapshot'")
+ "one run the command "
+ "'functest openstack snapshot-create'")
return
with open(OS_SNAPSHOT_FILE, 'r') as yaml_file:
click.echo("\n%s"
@@ -117,6 +118,7 @@ class CliOpenStack:
if not os.path.isfile(OS_SNAPSHOT_FILE):
click.echo("Not possible to clean OpenStack without a snapshot. "
"This could cause problems. "
- "Run first the command 'os-create-shapshot'.")
+ "Run first the command "
+ "'functest openstack snapshot-create'")
return
os_clean.main()