--amend
This commit is contained in:
@@ -177,7 +177,7 @@ func (g *GrafanaServerImpl) Shutdown(code int, reason string) {
|
|||||||
// call cancel func on root context
|
// call cancel func on root context
|
||||||
g.shutdownFn()
|
g.shutdownFn()
|
||||||
|
|
||||||
// wait for chid routines
|
// wait for child routines
|
||||||
if err := g.childRoutines.Wait(); err != nil && err != context.Canceled {
|
if err := g.childRoutines.Wait(); err != nil && err != context.Canceled {
|
||||||
g.log.Error("Server shutdown completed", "error", err)
|
g.log.Error("Server shutdown completed", "error", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user