Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
demo: Fixing incorrect log line - should be generalized to 'web serve…
Browse files Browse the repository at this point in the history
…r' (#4067)

Signed-off-by: Delyan Raychev <[email protected]>
  • Loading branch information
draychev authored Sep 1, 2021
1 parent c901324 commit 2cec5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/cmd/bookbuyer/bookbuyer.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func debugServer() {
router.HandleFunc(h.path, h.fn).Methods(h.method)
}
http.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) {})
log.Info().Msgf("Bookstore running on port %d", *port)
log.Info().Msgf("Web server running on port %d", *port)
err := http.ListenAndServe(fmt.Sprintf(":%d", *port), router)
log.Fatal().Err(err).Msgf("Failed to start HTTP server on port %d", *port)
}
Expand Down

0 comments on commit 2cec5d7

Please sign in to comment.