Skip to content

Commit

Permalink
vpa: admission-controller: add logs for failure to start webhook server
Browse files Browse the repository at this point in the history
Signed-off-by: sedflix <[email protected]>
  • Loading branch information
sedflix committed Feb 23, 2022
1 parent a255161 commit 98548af
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("", "")
err = server.ListenAndServeTLS("", "")
if err != nil {
klog.Fatalf("HTTPS Error: %s", err)
}
}

0 comments on commit 98548af

Please sign in to comment.