Loading osmclient/scripts/osm.py +2 −2 Original line number Diff line number Diff line Loading @@ -359,7 +359,7 @@ def ns_list(ctx, filter, long): vim = vim_name current_operation = "{} ({})".format(nsr['currentOperation'],nsr['currentOperationID']) error_details = "N/A" if ns_state == "BROKEN" or ns_state == "DEGRADED": if ns_state == "BROKEN" or ns_state == "DEGRADED" or nsr['errorDescription']: error_details = "{}\nDetail: {}".format(nsr['errorDescription'], nsr['errorDetail']) else: nsopdata = ctx.obj.ns.get_opdata(ns['id']) Loading Loading
osmclient/scripts/osm.py +2 −2 Original line number Diff line number Diff line Loading @@ -359,7 +359,7 @@ def ns_list(ctx, filter, long): vim = vim_name current_operation = "{} ({})".format(nsr['currentOperation'],nsr['currentOperationID']) error_details = "N/A" if ns_state == "BROKEN" or ns_state == "DEGRADED": if ns_state == "BROKEN" or ns_state == "DEGRADED" or nsr['errorDescription']: error_details = "{}\nDetail: {}".format(nsr['errorDescription'], nsr['errorDetail']) else: nsopdata = ctx.obj.ns.get_opdata(ns['id']) Loading