Merge pull request #9589 from hakman/dep-violation-err

Print error during cluster delete for dependency violation
This commit is contained in:
Kubernetes Prow Robot 2020-07-17 08:49:01 -07:00 committed by GitHub
commit 5dc88470fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)