mirror of https://github.com/kubernetes/kops.git
Merge pull request #9589 from hakman/dep-violation-err
Print error during cluster delete for dependency violation
This commit is contained in:
commit
5dc88470fc
|
@ -126,7 +126,7 @@ func DeleteResources(cloud fi.Cloud, resourceMap map[string]*resources.Resource)
|
|||
if err != nil {
|
||||
mutex.Lock()
|
||||
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)
|
||||
} else {
|
||||
fmt.Printf("%s\terror deleting resources, will retry: %v\n", human, err)
|
||||
|
|
Loading…
Reference in New Issue