Skip to content

Commit

Permalink
fix: add test port.
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Dec 1, 2023
1 parent 8b1f765 commit f7a6c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/startrpc/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func Start(
// Create a HTTP server for prometheus.
httpServer := &http.Server{Handler: promhttp.HandlerFor(reg, promhttp.HandlerOpts{}), Addr: fmt.Sprintf("0.0.0.0:%d", prometheusPort)}
if err := httpServer.ListenAndServe(); err != nil {
log.Fatal("Unable to start a http server.")
log.Fatal("Unable to start a http server.", err)
}
}
}()
Expand Down

0 comments on commit f7a6c88

Please sign in to comment.