Print error during cluster delete for dependency violation

This commit is contained in:
Ciprian Hacman 2020-07-17 18:16:06 +03:00
parent 9d675e3f5c
commit 81c2e76449
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)