Switch to github.com/coreos/go-systemd/v22 and drop older package

- We use the new v22 module released on May 10
- We drop the unmaintained `github.com/coreos/pkg`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2021-06-16 11:14:02 -04:00
parent 0bc75afcf2
commit 7fcdbbef06
22 changed files with 17 additions and 871 deletions

View File

@@ -32,7 +32,7 @@ import (
"strings"
"time"
"github.com/coreos/go-systemd/daemon"
"github.com/coreos/go-systemd/v22/daemon"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/klog/v2"