mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 15:37:19 +00:00
NK-31: Fixed reaction on server creation error
This commit is contained in:
parent
0144ffc149
commit
0f85e09f7e
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
@ -62,6 +62,9 @@ func main() {
|
|||
}
|
||||
|
||||
server, err := server.NewWebhookServer(serverConfig, nil)
|
||||
if err != nil {
|
||||
log.Fatalf("Unable to create webhook server: %v\n", err)
|
||||
}
|
||||
server.RunAsync()
|
||||
|
||||
stopCh := signals.SetupSignalHandler()
|
||||
|
|
Loading…
Add table
Reference in a new issue