mirror of https://github.com/kubernetes/kops.git
Print error during cluster delete for dependency violation
This commit is contained in:
parent
9d675e3f5c
commit
81c2e76449
|
|
@ -126,7 +126,7 @@ func DeleteResources(cloud fi.Cloud, resourceMap map[string]*resources.Resource)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
mutex.Lock()
|
mutex.Lock()
|
||||||
if awsresources.IsDependencyViolation(err) {
|
if awsresources.IsDependencyViolation(err) {
|
||||||
fmt.Printf("%s\tstill has dependencies, will retry\n", human)
|
fmt.Printf("%s\tstill has dependencies, will retry: %v\n", human, err)
|
||||||
klog.V(4).Infof("API call made when had dependency: %s", human)
|
klog.V(4).Infof("API call made when had dependency: %s", human)
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("%s\terror deleting resources, will retry: %v\n", human, err)
|
fmt.Printf("%s\terror deleting resources, will retry: %v\n", human, err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue