Skip to content

Commit

Permalink
add localhost hose to http server creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShohamBit committed Jan 15, 2025
1 parent bdf1178 commit b8673a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/flags/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func PrepareServer(serverSlice []string) (*Server, error) {

if enableMetrics || enableHealthz || enablePProf || enablePyroscope {
if server.HTTPServer == nil {
server.HTTPServer = http.New(":3366")
server.HTTPServer = http.New("localhost:3366")
}
if enableMetrics {
server.HTTPServer.EnableMetricsEndpoint()
Expand Down

0 comments on commit b8673a9

Please sign in to comment.