Fix bug 2373 - Remove old code from v1 client in ns_show 33/14433/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 19 Jun 2024 08:58:48 +0000 (10:58 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 19 Jun 2024 08:59:39 +0000 (10:59 +0200)
Change-Id: I4cfe351acc7c0ce092236f8f55cd369063b69181
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/cli_commands/ns.py

index 80961d5..a21c492 100755 (executable)
@@ -307,11 +307,6 @@ def ns_show(ctx, name, literal, filter, output):
         if not filter or k in filter:
             table.add_row([k, utils.wrap_text(text=json.dumps(v, indent=2), width=100)])
 
-    nsopdata = ctx.obj.ns.get_opdata(ns["id"])
-    nsr_optdata = nsopdata["nsr:nsr"]
-    for k, v in list(nsr_optdata.items()):
-        if not filter or k in filter:
-            table.add_row([k, utils.wrap_text(json.dumps(v, indent=2), width=100)])
     print_output.print_output(output, table.field_names, table._rows)