Use go-systemd const instead of magic string in Linux version of dockerd
Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>
This commit is contained in:
parent
8991bac2e0
commit
d393774a53
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue