Skip to content

Commit

Permalink
Fix port settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jadolg committed Feb 9, 2024
1 parent 0fbb2f9 commit 3736318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ func main() {
http.HandleFunc("/mutate", MutateCronjobs)
http.HandleFunc("/health", Healthcheck)

log.Print("Listening on port 8443...")
log.Printf("Listening on port %d...", *port)

log.Fatal(http.ListenAndServeTLS(fmt.Sprintf(":%d", port), *cert, *key, nil))
log.Fatal(http.ListenAndServeTLS(fmt.Sprintf(":%d", *port), *cert, *key, nil))
}

func MutateCronjobs(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 3736318

Please sign in to comment.