summaryrefslogtreecommitdiff
path: root/pkg/network
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/network
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/network')
-rw-r--r--pkg/network/devices.go4
-rw-r--r--pkg/network/network.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/network/devices.go b/pkg/network/devices.go
index 8eac32142..e45cc317e 100644
--- a/pkg/network/devices.go
+++ b/pkg/network/devices.go
@@ -5,8 +5,8 @@ import (
"os/exec"
"github.com/containers/common/pkg/config"
- "github.com/containers/libpod/pkg/util"
- "github.com/containers/libpod/utils"
+ "github.com/containers/libpod/v2/pkg/util"
+ "github.com/containers/libpod/v2/utils"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/network/network.go b/pkg/network/network.go
index 997aaf8a2..cbebb0be8 100644
--- a/pkg/network/network.go
+++ b/pkg/network/network.go
@@ -8,7 +8,7 @@ import (
"github.com/containernetworking/cni/pkg/types"
"github.com/containernetworking/plugins/plugins/ipam/host-local/backend/allocator"
"github.com/containers/common/pkg/config"
- "github.com/containers/libpod/pkg/util"
+ "github.com/containers/libpod/v2/pkg/util"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)