From: garciadeblas Date: Mon, 20 Jul 2020 11:27:17 +0000 (+0000) Subject: Fix bug 1162: return without printing VNF record when KDU status could not be determined X-Git-Tag: v7.1.5~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=9fc14cd0d1f77ae5c1762941bd1bc4b0b5fc5e96;p=osm%2Fosmclient.git Fix bug 1162: return without printing VNF record when KDU status could not be determined Change-Id: I448b7bed88a36c2df2085780054b73210bccfaab Signed-off-by: garciadeblas --- diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index f31ab58..51f3d58 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -1306,6 +1306,7 @@ def vnf_show(ctx, name, literal, filter, kdu): time.sleep(5) t += 5 print ("Could not determine KDU status") + return if literal: print(yaml.safe_dump(resp, indent=4, default_flow_style=False))