Skip to content

Commit

Permalink
Fix nil pointer error
Browse files Browse the repository at this point in the history
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
  • Loading branch information
Wise-Wizard committed Jul 9, 2024
1 parent 70d4b10 commit 25f8d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/query/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func (s *Server) Close() error {
s.cmuxServer.Close()
}
s.bgFinished.Wait()
s.ReportStatus(component.NewStatusEvent(component.StatusStopped))

s.Logger.Info("Server stopped")
return errors.Join(errs...)
}

0 comments on commit 25f8d10

Please sign in to comment.