From 2d74811520db30cba7246dd1122d484b0c02e5d7 Mon Sep 17 00:00:00 2001
From: Valentin Rothberg <rothberg@redhat.com>
Date: Mon, 6 Jul 2020 15:52:17 +0200
Subject: 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>
---
 hack/podman-registry-go/registry.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'hack')

diff --git a/hack/podman-registry-go/registry.go b/hack/podman-registry-go/registry.go
index a83304914..5358aa460 100644
--- a/hack/podman-registry-go/registry.go
+++ b/hack/podman-registry-go/registry.go
@@ -3,7 +3,7 @@ package registry
 import (
 	"strings"
 
-	"github.com/containers/libpod/utils"
+	"github.com/containers/libpod/v2/utils"
 	"github.com/pkg/errors"
 	"github.com/sirupsen/logrus"
 )
-- 
cgit v1.2.3-54-g00ecf