mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
typo 💥
This commit is contained in:
@@ -98,7 +98,7 @@ func (g *GrafanaServerImpl) Start() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
SendSystemdReady("READY=1")
|
SendSystemdNotification("READY=1")
|
||||||
g.startHttpServer()
|
g.startHttpServer()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +173,7 @@ func (g *GrafanaServerImpl) writePIDFile() {
|
|||||||
g.log.Info("Writing PID file", "path", *pidFile, "pid", pid)
|
g.log.Info("Writing PID file", "path", *pidFile, "pid", pid)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SendSystemdReady(state string) error {
|
func SendSystemdNotification(state string) error {
|
||||||
notifySocket := os.Getenv("NOTIFY_SOCKET")
|
notifySocket := os.Getenv("NOTIFY_SOCKET")
|
||||||
|
|
||||||
if notifySocket == "" {
|
if notifySocket == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user