Fix bug 1886 to hide WIM password properly in command wim-show 12/11712/1 v10.1.0 v10.1.0rc3
authorgifrerenom <lluis.gifre@cttc.es>
Mon, 28 Feb 2022 09:49:11 +0000 (09:49 +0000)
committergifrerenom <lluis.gifre@cttc.es>
Mon, 28 Feb 2022 09:49:41 +0000 (09:49 +0000)
Change-Id: Ia3832d034d58895bb3096517e3a02ea19b75edf5
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
osmclient/scripts/osm.py

index 507df02..c73be1f 100755 (executable)
@@ -3572,7 +3572,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)