summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/sdnotify/sdnotify.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sdnotify/sdnotify.go b/internal/sdnotify/sdnotify.go
index 114284ee..b82e0dd4 100644
--- a/internal/sdnotify/sdnotify.go
+++ b/internal/sdnotify/sdnotify.go
@@ -86,7 +86,7 @@ func SdNotify(state State) (bool, error) {
return true, nil
}
-func StartWatchdog(interval int, stopCh chan struct{}) {
+func StartWatchdog(interval int, stopCh <-chan struct{}) {
go func() {
ticker := time.NewTicker(time.Duration(interval) * time.Second)
defer ticker.Stop()