Fix bug 2152 to hide WIM password properly in command wim-show 11/12511/1 v12.0.3 v12.0.4 v12.0.5
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:38:28 +0000 (10:38 +0000)
Change-Id: Ia3832d034d58895bb3096517e3a02ea19b75edf5
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
osmclient/scripts/osm.py

index 397d932..c218757 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)