Remove loadBalancer ip on shutdown

This commit is contained in:
Manuel de Brito Fontes 2016-05-24 14:27:37 -03:00
parent 8a652e94f5
commit d0401b3901
2 changed files with 10 additions and 8 deletions

View file

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