Skip to content

Commit

Permalink
fix: CREATE_COMPLETE state
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Oct 25, 2022
1 parent 6fdf1d2 commit 898c818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnum_cluster_api/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def update_cluster_status(self, context, cluster, use_admin_ctx=False):
if status_map.get("ControlPlaneReady") != "True":
return

api_endpoint = capi_cluster.obj["status"]["controlPlaneEndpoint"]
api_endpoint = capi_cluster.obj["spec"]["controlPlaneEndpoint"]
cluster.api_address = (
f"https://{api_endpoint['host']}:{api_endpoint['port']}"
)
Expand Down

0 comments on commit 898c818

Please sign in to comment.