diff options
Diffstat (limited to 'sd_daemon/watchdog.go')
-rw-r--r-- | sd_daemon/watchdog.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd_daemon/watchdog.go b/sd_daemon/watchdog.go index be96970..05dc9f3 100644 --- a/sd_daemon/watchdog.go +++ b/sd_daemon/watchdog.go @@ -1,5 +1,5 @@ // Copyright 2016 CoreOS, Inc. -// Copyright 2016 Luke Shumaker +// Copyright 2016, 2018 Luke Shumaker // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import ( // WatchdogEnabled returns how often the process is expected to send a // keep-alive notification to the service manager. // -// Notify(0, false, "WATCHDOG=1", nil) // send keep-alive notification +// Notification{State: "WATCHDOG=1"}.Send(false) // send keep-alive notification // // If unsetEnv is true, then (regardless of whether the function call // itself succeeds or not) it will unset the environmental variables |