external: fix client healhchecker user keyring return

if the client.health checker already exited it was
returning extra information, It was making the structure and
return JSON non idempotent output, So fixed
that problem by returning a single value

Signed-off-by: parth-gr <paarora@redhat.com>
This commit is contained in:
parth-gr committed 2023-10-05 16:04:13 +05:30
1 parent 04c9f98954
commit bf5252e139
1 file changed
+1 -1
@@ -1162,7 +1162,7 @@ class RadosJSON:
# check if user already exist
user_key = self.check_user_exist(entity)
if user_key != "":
return user_key, f"{entity.split('.', 1)[1]}"
return user_key
ret_val, json_out, err_msg = self._common_cmd_json_gen(cmd_json)
# if there is an unsuccessful attempt,