summaryrefslogtreecommitdiff
path: root/test/endpoint
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-07-06 15:52:17 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-07-06 15:52:17 +0200
commit2d74811520db30cba7246dd1122d484b0c02e5d7 (patch)
treef0b5bac6b3cf73d1b8e23672434ecc3521728ea2 /test/endpoint
parent1ba8c235876467f5399a60a3847022fa10ad98ab (diff)
downloadpodman-2d74811520db30cba7246dd1122d484b0c02e5d7.tar.gz
podman-2d74811520db30cba7246dd1122d484b0c02e5d7.tar.bz2
podman-2d74811520db30cba7246dd1122d484b0c02e5d7.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 'test/endpoint')
-rw-r--r--test/endpoint/commit.go2
-rw-r--r--test/endpoint/endpoint.go4
-rw-r--r--test/endpoint/exists_test.go2
-rw-r--r--test/endpoint/pull_test.go2
-rw-r--r--test/endpoint/setup.go4
-rw-r--r--test/endpoint/version_test.go4
6 files changed, 9 insertions, 9 deletions
diff --git a/test/endpoint/commit.go b/test/endpoint/commit.go
index 2a8e365ae..ff671f572 100644
--- a/test/endpoint/commit.go
+++ b/test/endpoint/commit.go
@@ -6,7 +6,7 @@ import (
"encoding/json"
"os"
- . "github.com/containers/libpod/test/utils"
+ . "github.com/containers/libpod/v2/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
diff --git a/test/endpoint/endpoint.go b/test/endpoint/endpoint.go
index 20b5c577e..3352f36f2 100644
--- a/test/endpoint/endpoint.go
+++ b/test/endpoint/endpoint.go
@@ -13,8 +13,8 @@ import (
"syscall"
"time"
- "github.com/containers/libpod/pkg/rootless"
- iopodman "github.com/containers/libpod/pkg/varlink"
+ "github.com/containers/libpod/v2/pkg/rootless"
+ iopodman "github.com/containers/libpod/v2/pkg/varlink"
. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/gexec"
)
diff --git a/test/endpoint/exists_test.go b/test/endpoint/exists_test.go
index 17e0fcab4..4278f2bfd 100644
--- a/test/endpoint/exists_test.go
+++ b/test/endpoint/exists_test.go
@@ -5,7 +5,7 @@ package endpoint
import (
"os"
- . "github.com/containers/libpod/test/utils"
+ . "github.com/containers/libpod/v2/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
diff --git a/test/endpoint/pull_test.go b/test/endpoint/pull_test.go
index 25141d787..06813125e 100644
--- a/test/endpoint/pull_test.go
+++ b/test/endpoint/pull_test.go
@@ -5,7 +5,7 @@ package endpoint
import (
"os"
- . "github.com/containers/libpod/test/utils"
+ . "github.com/containers/libpod/v2/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
diff --git a/test/endpoint/setup.go b/test/endpoint/setup.go
index c05cc0cbb..f784e5696 100644
--- a/test/endpoint/setup.go
+++ b/test/endpoint/setup.go
@@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"
- "github.com/containers/libpod/pkg/rootless"
- iopodman "github.com/containers/libpod/pkg/varlink"
+ "github.com/containers/libpod/v2/pkg/rootless"
+ iopodman "github.com/containers/libpod/v2/pkg/varlink"
"github.com/containers/storage/pkg/stringid"
"github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
diff --git a/test/endpoint/version_test.go b/test/endpoint/version_test.go
index 403fca555..90f2c7043 100644
--- a/test/endpoint/version_test.go
+++ b/test/endpoint/version_test.go
@@ -5,8 +5,8 @@ package endpoint
import (
"os"
- . "github.com/containers/libpod/test/utils"
- "github.com/containers/libpod/version"
+ . "github.com/containers/libpod/v2/test/utils"
+ "github.com/containers/libpod/v2/version"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)