Skip to content

Commit

Permalink
Cleanup AWS EC2 dependency violation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Jul 27, 2020
1 parent 0876165 commit 07ea166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/resources/ops/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ 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: %v\n", human, err)
klog.V(4).Infof("API call made when had dependency: %s", human)
fmt.Printf("%s\tstill has dependencies, will retry\n", human)
klog.V(4).Infof("resource %q generated a dependency error: %v", human, err)
} else {
fmt.Printf("%s\terror deleting resources, will retry: %v\n", human, err)
}
Expand Down

0 comments on commit 07ea166

Please sign in to comment.