Log instead of fail on GLBCs tendency to leak resources

pull/6/head
Nick Sardo 2017-03-13 14:23:59 -07:00
parent 5913c5a453
commit 3e85c0f758
1 changed files with 3 additions and 2 deletions

View File

@ -366,9 +366,10 @@ func CleanupGCEIngressController(gceController *GCEIngressController) {
By(fmt.Sprintf("WARNING: possibly leaked static IP: %v\n", ipErr))
}
// Fail if the controller didn't cleanup
// Logging that the GLBC failed to cleanup GCE resources on ingress deletion
// See kubernetes/ingress#431
if pollErr != nil {
Failf("L7 controller failed to delete all cloud resources on time. %v", pollErr)
Logf("error: L7 controller failed to delete all cloud resources on time. %v", pollErr)
}
}