From bf5252e13994e270a02fa0ab314cbed1f78fbc0b Mon Sep 17 00:00:00 2001 From: parth-gr Date: Thu, 5 Oct 2023 15:55:11 +0530 Subject: [PATCH] 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 --- deploy/examples/create-external-cluster-resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/examples/create-external-cluster-resources.py b/deploy/examples/create-external-cluster-resources.py index fbc5b2c28..148f7d68b 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -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,