Remove loadBalancer ip on shutdown
This commit is contained in:
parent
8a652e94f5
commit
d0401b3901
2 changed files with 10 additions and 8 deletions
|
|
@ -190,6 +190,7 @@ func handleSigterm(lbc *loadBalancerController) {
|
|||
glog.Infof("Error during shutdown %v", err)
|
||||
exitCode = 1
|
||||
}
|
||||
|
||||
glog.Infof("Exiting with %v", exitCode)
|
||||
os.Exit(exitCode)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue