From ab1d6721ea81e8e5091254da0570dee0d0c88b28 Mon Sep 17 00:00:00 2001 From: alaa-bish Date: Wed, 9 Feb 2022 12:37:08 +0000 Subject: [PATCH] Imprv cluster uuid : Github issue 73 --- plugins/module_utils/prism/clusters.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/module_utils/prism/clusters.py b/plugins/module_utils/prism/clusters.py index 527d57563..f7dc0e0cc 100644 --- a/plugins/module_utils/prism/clusters.py +++ b/plugins/module_utils/prism/clusters.py @@ -24,7 +24,6 @@ def get_cluster_uuid(config, module): if not uuid: error = "Cluster {0} not found.".format(name) return None, error - return uuid, None elif "uuid" in config["cluster"]: uuid = config["cluster"]["uuid"] - return uuid, None + return uuid, None