Fix ns-heal and vnf-heal commands to anchor to cli_osm 03/12203/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 15 Jun 2022 09:13:20 +0000 (11:13 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 15 Jun 2022 09:13:20 +0000 (11:13 +0200)
Change-Id: I64bb2c56a0cad4fc0c6832874bdc1da38cfb6573
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/scripts/osm.py

index a196139..aedf3c7 100755 (executable)
@@ -5709,7 +5709,7 @@ def process_vnf_heal_params(ctx, param, value):
         process_common_heal_params(ctx, param, value)
 
 
-@click.command(
+@cli_osm.command(
     name="ns-heal", short_help="heals (recreates) VNFs or VDUs of a NS instance"
 )
 @click.argument("ns_name")
@@ -5785,7 +5785,7 @@ def ns_heal(
     ctx.obj.ns.heal(ns_name, heal_dict, wait, timeout)
 
 
-@click.command(
+@cli_osm.command(
     name="vnf-heal",
     short_help="heals (recreates) a VNF instance or the VDUs of a VNF instance",
 )