Fix bug 2153 to hide WIM password properly in command wim-show 12/12512/1
authorgifrerenom <lluis.gifre@cttc.es>
Mon, 28 Feb 2022 09:49:11 +0000 (09:49 +0000)
committergifrerenom <lluis.gifre@cttc.es>
Wed, 31 Aug 2022 10:40:34 +0000 (10:40 +0000)
Change-Id: Ia3832d034d58895bb3096517e3a02ea19b75edf5
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
osmclient/scripts/osm.py

index f68fb0c..02870e4 100755 (executable)
@@ -3614,7 +3614,7 @@ def wim_show(ctx, name):
     check_client_version(ctx.obj, ctx.command.name)
     resp = ctx.obj.wim.get(name)
     if "password" in resp:
-        resp["wim_password"] = "********"
+        resp["password"] = "********"
     # except ClientException as e:
     #     print(str(e))
     #     exit(1)