Add correct diagnostics interval to startup message.

This commit is contained in:
Cody Soyland 2018-03-15 15:26:36 -05:00
parent 680acf4e3d
commit 754de2e057

View file

@ -610,7 +610,7 @@ func (s *Server) monitorDiagnostics() {
s.Logger().Printf("diagnostics disabled")
return
} else {
s.Logger().Printf("Pilosa is currently configured to send small diagnostics reports to our team every hour. More information here: https://www.pilosa.com/docs/latest/administration/#diagnostics")
s.Logger().Printf("Pilosa is currently configured to send small diagnostics reports to our team every %v. More information here: https://www.pilosa.com/docs/latest/administration/#diagnostics", s.DiagnosticInterval)
}
s.diagnostics.SetLogger(s.LogOutput)