From 33e8d89a75e57b07ab71aab4dcd2cc6bff3b684e Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 23 May 2018 19:06:34 +0200 Subject: [PATCH] Use go-systemd const instead of magic string in Linux version of dockerd Signed-off-by: Christian Muehlhaeuser Upstream-commit: d393774a53e0a45486047a80ca4ae8faf5599386 Component: engine --- components/engine/cmd/dockerd/daemon_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/cmd/dockerd/daemon_linux.go b/components/engine/cmd/dockerd/daemon_linux.go index b09fed9293..cf2d65275f 100644 --- a/components/engine/cmd/dockerd/daemon_linux.go +++ b/components/engine/cmd/dockerd/daemon_linux.go @@ -9,5 +9,5 @@ func preNotifySystem() { // notifySystem sends a message to the host when the server is ready to be used func notifySystem() { // Tell the init daemon we are accepting requests - go systemdDaemon.SdNotify(false, "READY=1") + go systemdDaemon.SdNotify(false, systemdDaemon.SdNotifyReady) }