1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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:
Christian Muehlhaeuser 2018-05-23 19:06:34 +02:00
parent 8991bac2e0
commit d393774a53
No known key found for this signature in database
GPG key ID: 8E2950DE7C04491D

View file

@ -9,5 +9,5 @@ func preNotifySystem() {
// notifySystem sends a message to the host when the server is ready to be used // notifySystem sends a message to the host when the server is ready to be used
func notifySystem() { func notifySystem() {
// Tell the init daemon we are accepting requests // Tell the init daemon we are accepting requests
go systemdDaemon.SdNotify(false, "READY=1") go systemdDaemon.SdNotify(false, systemdDaemon.SdNotifyReady)
} }