From 14580b61446876cc324a7c0d22e6b624e3cfa2e9 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 12 Feb 2020 20:44:35 +0100 Subject: [PATCH] Import go-systemd properly Signed-off-by: Jakub Sztandera --- cmd/lotus-health/notify.go | 2 +- go.mod | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/lotus-health/notify.go b/cmd/lotus-health/notify.go index a80dcf2ee..031f0fe2f 100644 --- a/cmd/lotus-health/notify.go +++ b/cmd/lotus-health/notify.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/coreos/go-systemd/dbus" + "github.com/coreos/go-systemd/v22/dbus" ) func notifyHandler(n string, ch chan interface{}, sCh chan os.Signal) (string, error) { diff --git a/go.mod b/go.mod index 50d7d8fb7..504cfd932 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/GeertJohan/go.rice v1.0.0 github.com/Gurpartap/async v0.0.0-20180927173644-4f7f499dd9ee github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect - github.com/coreos/go-systemd v0.0.0-00010101000000-000000000000 + github.com/coreos/go-systemd/v22 v22.0.0 github.com/docker/go-units v0.4.0 github.com/filecoin-project/chain-validation v0.0.3 github.com/filecoin-project/filecoin-ffi v0.0.0-20191219131535-bb699517a590 @@ -111,5 +111,3 @@ require ( replace github.com/golangci/golangci-lint => github.com/golangci/golangci-lint v1.18.0 replace github.com/filecoin-project/filecoin-ffi => ./extern/filecoin-ffi - -replace github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0