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

Commit 2cec5d7

Browse files
author
Delyan Raychev
authored
demo: Fixing incorrect log line - should be generalized to 'web server' (#4067)
Signed-off-by: Delyan Raychev <[email protected]>
1 parent c901324 commit 2cec5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/cmd/bookbuyer/bookbuyer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func debugServer() {
7171
router.HandleFunc(h.path, h.fn).Methods(h.method)
7272
}
7373
http.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) {})
74-
log.Info().Msgf("Bookstore running on port %d", *port)
74+
log.Info().Msgf("Web server running on port %d", *port)
7575
err := http.ListenAndServe(fmt.Sprintf(":%d", *port), router)
7676
log.Fatal().Err(err).Msgf("Failed to start HTTP server on port %d", *port)
7777
}

0 commit comments

Comments
 (0)