From 399d59d06fe1e49007a0bc165b095cdf92a7453a Mon Sep 17 00:00:00 2001 From: Juha Kosonen Date: Mon, 15 Aug 2016 17:38:45 +0000 Subject: 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 --- cli/commands/cli_os.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cli/commands') 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() -- cgit 1.2.3-korg