Skip to content

Commit

Permalink
Merge pull request #4706 from sedflix/master
Browse files Browse the repository at this point in the history
vpa: admission-controller: add logs for failure to start webhook server
  • Loading branch information
k8s-ci-robot authored Feb 28, 2022
2 parents e5bd3c8 + 9376178 commit f93d361
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vertical-pod-autoscaler/pkg/admission-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,8 @@ func main() {
// Start status updates after the webhook is initialized.
statusUpdater.Run(stopCh)
}()
server.ListenAndServeTLS("", "")

if err = server.ListenAndServeTLS("", ""); err != nil {
klog.Fatalf("HTTPS Error: %s", err)
}
}

0 comments on commit f93d361

Please sign in to comment.