We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3edf8bf commit da2b45cCopy full SHA for da2b45c
src/mas/devops/ocp.py
@@ -72,7 +72,7 @@ def getClusterVersion(dynClient: DynamicClient) -> str:
72
clusterVersion = clusterVersionAPI.get(name="version")
73
for record in clusterVersion.status.history:
74
if record.state == "Completed":
75
- return record.state.version
+ return record.version
76
except NotFoundError:
77
logger.debug("Unable to retrieve ClusterVersion")
78
return None
0 commit comments