bump go module to v3

We missed bumping the go module, so let's do it now :)

* Automated go code with github.com/sirkon/go-imports-rename
* Manually via `vgrep podman/v2` the rest

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2021-02-20 14:28:38 +01:00
parent 4a6582bd86
commit 5dded6fae7
707 changed files with 1868 additions and 1871 deletions

View File

@ -6,7 +6,7 @@ import (
"errors"
"strings"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
rspec "github.com/opencontainers/runtime-spec/specs-go"
)

View File

@ -3,7 +3,7 @@ package hook
import (
"testing"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
rspec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/stretchr/testify/assert"
)

View File

@ -9,7 +9,7 @@ import (
"strings"
"sync"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
rspec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"

View File

@ -9,7 +9,7 @@ import (
"runtime"
"testing"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
rspec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/stretchr/testify/assert"
)

View File

@ -3,7 +3,7 @@ package hooks
import (
"context"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
"github.com/fsnotify/fsnotify"
"github.com/sirupsen/logrus"
)

View File

@ -8,8 +8,8 @@ import (
"path/filepath"
"strings"
old "github.com/containers/podman/v2/pkg/hooks/0.1.0"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
old "github.com/containers/podman/v3/pkg/hooks/0.1.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)

View File

@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
current "github.com/containers/podman/v2/pkg/hooks/1.0.0"
current "github.com/containers/podman/v3/pkg/hooks/1.0.0"
rspec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/stretchr/testify/assert"
)