Skip to content

Commit

Permalink
fix: start message
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
  • Loading branch information
thschue committed Apr 13, 2023
1 parent ddf3561 commit 6b63027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (s *Config) analyzeHandler(w http.ResponseWriter, r *http.Request) {

func (s *Config) Serve() error {
http.HandleFunc("/analyze", s.analyzeHandler)
color.Green("Starting server on port " + s.Port)
color.Green("Starting server on port %d", s.Port)
err := http.ListenAndServe(":"+s.Port, nil)
if err != nil {
fmt.Printf("error starting server: %s\n", err)
Expand Down

0 comments on commit 6b63027

Please sign in to comment.