Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
satk0 committed Oct 17, 2024
1 parent 3ffc4e1 commit 81df5f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/startup_manager/startup_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ func (sm *StartupManager) Reload(ctx context.Context) error {
slog.Info("config has changed, reloading server")

sm.shutdownPrometheus()
sm.shutdownServer(ctx)
err := sm.shutdownServer(ctx)
if err != nil {
return err
}

sm.startPrometheus(cfg)
sm.startServer(cfg)
Expand Down

0 comments on commit 81df5f3

Please sign in to comment.