Skip to content
Snippets Groups Projects
Commit 93761787 authored by sedflix's avatar sedflix
Browse files

vpa: admission-controller: refactor if and error check


Signed-off-by: default avatarsedflix <sedflix@gmail.com>
parent 98548af0
No related branches found
No related tags found
No related merge requests found
......@@ -136,8 +136,8 @@ func main() {
// Start status updates after the webhook is initialized.
statusUpdater.Run(stopCh)
}()
err = server.ListenAndServeTLS("", "")
if err != nil {
if err = server.ListenAndServeTLS("", ""); err != nil {
klog.Fatalf("HTTPS Error: %s", err)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment