Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Fix install cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
tsorya committed Jun 23, 2020
1 parent 0338afc commit 14d84fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discovery-infra/install_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def run_install_flow(client, cluster_id, kubeconfig_path, pull_secret):
log.info("Wait till cluster is ready")
utils.wait_till_cluster_is_in_status(client=client, cluster_id=cluster_id,
statuses=[consts.ClusterStatus.READY, consts.ClusterStatus.INSTALLING])
cluster = client.cluster_get(cluster_id)
if cluster.status == consts.ClusterStatus.READY:
log.info("Install cluster %s", cluster_id)
_install_cluster(client=client, cluster=cluster)
Expand Down

0 comments on commit 14d84fd

Please sign in to comment.