mirror of https://github.com/kubernetes/kops.git
Merge pull request #13373 from olemarkus/down-on-validation-failure
If kubetest2 fails cluster validation, we run down before exiting
This commit is contained in:
commit
b2bb322a57
|
|
@ -97,6 +97,7 @@ func (d *deployer) Up() error {
|
|||
}
|
||||
isUp, err := d.IsUp()
|
||||
if err != nil {
|
||||
d.Down()
|
||||
return err
|
||||
} else if isUp {
|
||||
klog.V(1).Infof("cluster reported as up")
|
||||
|
|
|
|||
Loading…
Reference in New Issue