Update cli output text 59/18659/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Mon, 15 Aug 2016 17:38:45 +0000 (17:38 +0000)
committerJuha Kosonen <juha.kosonen@nokia.com>
Mon, 15 Aug 2016 17:40:28 +0000 (17:40 +0000)
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>
cli/commands/cli_os.py

index b007842..722c700 100644 (file)
@@ -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()