Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Aug 3, 2023
1 parent 6a326ba commit ac80175
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/bootstrap/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ func CheckClusterReadiness(name, namespace string) bool {
return false
}

// TODO:
// If cluster exists but is not ready then we should handle it better.
// Right now it would attempt to bootstrap new cluster.
for _, cond := range c.Status.Conditions {
if cond.Type == clusterapi.ReadyCondition && cond.Status == "True" {
return true
Expand Down

0 comments on commit ac80175

Please sign in to comment.