Skip to content

Commit

Permalink
fixed pylint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Murali Krishnasamy <[email protected]>
  • Loading branch information
mukrishn committed Aug 21, 2024
1 parent 9f30e90 commit 36182a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/platforms/rosa/hypershift/hypershift.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_metadata(self, platform, cluster_name):
metadata = {}
self.logging.info(f"Getting information for cluster {cluster_name}")
metadata_code, metadata_out, metadata_err = self.utils.subprocess_exec(
"rosa describe cluster -c " + cluster_name + " -o json",
"rosa describe cluster -c " + cluster_name + " -o json",
extra_params={"universal_newlines": True}
)
try:
Expand All @@ -121,7 +121,7 @@ def get_metadata(self, platform, cluster_name):
if status == "ready":
self.logging.debug(f"Get metadata of Hypershift cluster {cluster_name}")
cluster_mc = self._get_mc(self.get_cluster_id(cluster_name))
metadata["mgmt_cluster_name"] = cluster_mc
metadata["mgmt_cluster_name"] = cluster_mc
platform.environment["mc_kubeconfig"] = platform.environment["path"] + "/kubeconfig_" + cluster_mc
return metadata

Expand Down

0 comments on commit 36182a7

Please sign in to comment.