This commit is contained in:
Torkel Ödegaard 2018-05-01 14:18:10 +02:00
parent 13e015fe3f
commit 2b93cbbf04

View File

@ -177,7 +177,7 @@ func (g *GrafanaServerImpl) Shutdown(code int, reason string) {
// call cancel func on root context
g.shutdownFn()
// wait for chid routines
// wait for child routines
if err := g.childRoutines.Wait(); err != nil && err != context.Canceled {
g.log.Error("Server shutdown completed", "error", err)
}