diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-07-06 15:38:20 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-07-06 15:50:12 +0200 |
commit | 8489dc43458da43d12ae37bac63753811acf96d9 (patch) | |
tree | c2dce0ff4c9f1a00f2f78da106da510c84756866 /pkg/varlinkapi/volumes.go | |
parent | 9bccb0f091a82656593a069891f143e78a8719e9 (diff) | |
download | podman-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/varlinkapi/volumes.go')
-rw-r--r-- | pkg/varlinkapi/volumes.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/varlinkapi/volumes.go b/pkg/varlinkapi/volumes.go index 3b6276287..a1e711d34 100644 --- a/pkg/varlinkapi/volumes.go +++ b/pkg/varlinkapi/volumes.go @@ -6,9 +6,9 @@ import ( "context" "encoding/json" - "github.com/containers/libpod/libpod" - "github.com/containers/libpod/pkg/domain/infra/abi/parse" - iopodman "github.com/containers/libpod/pkg/varlink" + "github.com/containers/libpod/v2/libpod" + "github.com/containers/libpod/v2/pkg/domain/infra/abi/parse" + iopodman "github.com/containers/libpod/v2/pkg/varlink" ) // VolumeCreate creates a libpod volume based on input from a varlink connection |