Fix NST creation command 96/8896/1
authorFelipe Vicens <felipe.vicens@atos.net>
Tue, 12 May 2020 07:01:06 +0000 (09:01 +0200)
committerFelipe Vicens <felipe.vicens@atos.net>
Tue, 12 May 2020 07:01:06 +0000 (09:01 +0200)
Change-Id: Iff7ec8a9a369e87f638350ddbdcf9a37c6b20486
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
osmclient/scripts/osm.py

index 6161e43..cd5fcf9 100755 (executable)
@@ -1610,13 +1610,13 @@ def nst_create(ctx, filename, overwrite):
               help='overrides fields in descriptor, format: '
                    '"key1.key2...=value[;key3...=value;...]"')
 @click.pass_context
-def nst_create1(ctx, charm_folder, overwrite):
+def nst_create1(ctx, filename, overwrite):
     """creates a new Network Slice Template (NST)
 
     FILENAME: NST package folder, NST yaml file or NSTpkg tar.gz file
     """
     logger.debug("")
-    nst_create(ctx, charm_folder, overwrite)
+    nst_create(ctx, filename, overwrite)
 
 
 @cli_osm.command(name='netslice-template-create', short_help='creates a new Network Slice Template (NST)')