Browse code

Use go-systemd const instead of magic string in Linux version of dockerd

Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>

Christian Muehlhaeuser authored on 2018/05/24 02:06:34
Showing 1 changed files
... ...
@@ -9,5 +9,5 @@ func preNotifySystem() {
9 9
 // notifySystem sends a message to the host when the server is ready to be used
10 10
 func notifySystem() {
11 11
 	// Tell the init daemon we are accepting requests
12
-	go systemdDaemon.SdNotify(false, "READY=1")
12
+	go systemdDaemon.SdNotify(false, systemdDaemon.SdNotifyReady)
13 13
 }