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

Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>
Upstream-commit: d393774a53e0a45486047a80ca4ae8faf5599386
Component: engine
This commit is contained in:
Christian Muehlhaeuser
2018-05-23 19:06:34 +02:00
parent 93d19d1ff6
commit 33e8d89a75

View File

@ -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)
}