summaryrefslogtreecommitdiff
path: root/pkg/util
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-07-06 15:38:20 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-07-06 15:50:12 +0200
commit8489dc43458da43d12ae37bac63753811acf96d9 (patch)
treec2dce0ff4c9f1a00f2f78da106da510c84756866 /pkg/util
parent9bccb0f091a82656593a069891f143e78a8719e9 (diff)
downloadpodman-8489dc43458da43d12ae37bac63753811acf96d9.tar.gz
podman-8489dc43458da43d12ae37bac63753811acf96d9.tar.bz2
podman-8489dc43458da43d12ae37bac63753811acf96d9.zip
move go module to v2
With the advent of Podman 2.0.0 we crossed the magical barrier of go modules. While we were able to continue importing all packages inside of the project, the project could not be vendored anymore from the outside. Move the go module to new major version and change all imports to `github.com/containers/libpod/v2`. The renaming of the imports was done via `gomove` [1]. [1] https://github.com/KSubedi/gomove Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/util')
-rw-r--r--pkg/util/utils.go8
-rw-r--r--pkg/util/utils_linux.go2
-rw-r--r--pkg/util/utils_supported.go2
3 files changed, 6 insertions, 6 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index 1d8941b4d..47d3e231d 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -15,10 +15,10 @@ import (
"github.com/BurntSushi/toml"
"github.com/containers/common/pkg/config"
"github.com/containers/image/v5/types"
- "github.com/containers/libpod/pkg/errorhandling"
- "github.com/containers/libpod/pkg/namespaces"
- "github.com/containers/libpod/pkg/rootless"
- "github.com/containers/libpod/pkg/signal"
+ "github.com/containers/libpod/v2/pkg/errorhandling"
+ "github.com/containers/libpod/v2/pkg/namespaces"
+ "github.com/containers/libpod/v2/pkg/rootless"
+ "github.com/containers/libpod/v2/pkg/signal"
"github.com/containers/storage"
"github.com/containers/storage/pkg/idtools"
v1 "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/pkg/util/utils_linux.go b/pkg/util/utils_linux.go
index 5e4dc4a51..d4c2644b3 100644
--- a/pkg/util/utils_linux.go
+++ b/pkg/util/utils_linux.go
@@ -6,7 +6,7 @@ import (
"path/filepath"
"syscall"
- "github.com/containers/libpod/pkg/rootless"
+ "github.com/containers/libpod/v2/pkg/rootless"
"github.com/containers/psgo"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
diff --git a/pkg/util/utils_supported.go b/pkg/util/utils_supported.go
index c6aed9943..82bfdb3ec 100644
--- a/pkg/util/utils_supported.go
+++ b/pkg/util/utils_supported.go
@@ -11,7 +11,7 @@ import (
"path/filepath"
"syscall"
- "github.com/containers/libpod/pkg/rootless"
+ "github.com/containers/libpod/v2/pkg/rootless"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)