mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-01 12:31:57 +00:00
fix(metrics): bind to the right network/bindhost
Whoops! Closes: #1605 Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -64,7 +64,7 @@ func (s *Server) run(ctx context.Context, lg *slog.Logger) error {
|
||||
ErrorLog: internal.GetFilteredHTTPLogger(),
|
||||
}
|
||||
|
||||
ln, metricsURL, err := internal.SetupListener(s.Config.Bind, s.Config.Network, s.Config.SocketMode)
|
||||
ln, metricsURL, err := internal.SetupListener(s.Config.Network, s.Config.Bind, s.Config.SocketMode)
|
||||
if err != nil {
|
||||
return fmt.Errorf("can't setup listener: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user