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

@@ -21,7 +21,7 @@ import (
"strings"
"github.com/blang/semver"
systemdutil "github.com/coreos/go-systemd/util"
systemdutil "github.com/coreos/go-systemd/v22/util"
)
// getDockerAPIVersion returns the Docker's API version.