feat: configure webhook

This commit is contained in:
2023-07-19 21:20:59 +02:00
parent e80e75cb8c
commit 44e9315706
7 changed files with 65 additions and 9 deletions

View File

@@ -80,7 +80,6 @@ func main() {
<-ctx.Done()
log.Println("on shutdown")
if restServer != nil {
if err := restServer.Shutdown(); err != nil {
panic(fmt.Errorf("restServer.Shutdown: %w", err))