summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/utils
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2022-01-18 10:14:48 +0100
committerValentin Rothberg <rothberg@redhat.com>2022-01-18 12:47:07 +0100
commitbd09b7aa79aee34608e71fd4ba90d157dae828fc (patch)
tree0ae61e3b0161c9057dfdcf84a9f5afe250dd9b95 /pkg/api/handlers/utils
parentd6b0720b9cd5d993dffc229e73d8377aae2c2ed4 (diff)
downloadpodman-bd09b7aa79aee34608e71fd4ba90d157dae828fc.tar.gz
podman-bd09b7aa79aee34608e71fd4ba90d157dae828fc.tar.bz2
podman-bd09b7aa79aee34608e71fd4ba90d157dae828fc.zip
bump go module to version 4
Automated for .go files via gomove [1]: `gomove github.com/containers/podman/v3 github.com/containers/podman/v4` Remaining files via vgrep [2]: `vgrep github.com/containers/podman/v3` [1] https://github.com/KSubedi/gomove [2] https://github.com/vrothberg/vgrep Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/handlers/utils')
-rw-r--r--pkg/api/handlers/utils/containers.go14
-rw-r--r--pkg/api/handlers/utils/errors.go4
-rw-r--r--pkg/api/handlers/utils/handler.go2
-rw-r--r--pkg/api/handlers/utils/handler_test.go2
-rw-r--r--pkg/api/handlers/utils/images.go6
5 files changed, 14 insertions, 14 deletions
diff --git a/pkg/api/handlers/utils/containers.go b/pkg/api/handlers/utils/containers.go
index 6f875fc30..d1e1164a4 100644
--- a/pkg/api/handlers/utils/containers.go
+++ b/pkg/api/handlers/utils/containers.go
@@ -7,17 +7,17 @@ import (
"strconv"
"time"
- "github.com/containers/podman/v3/libpod/events"
- api "github.com/containers/podman/v3/pkg/api/types"
- "github.com/containers/podman/v3/pkg/domain/entities"
- "github.com/containers/podman/v3/pkg/domain/infra/abi"
+ "github.com/containers/podman/v4/libpod/events"
+ api "github.com/containers/podman/v4/pkg/api/types"
+ "github.com/containers/podman/v4/pkg/domain/entities"
+ "github.com/containers/podman/v4/pkg/domain/infra/abi"
- "github.com/containers/podman/v3/pkg/api/handlers"
+ "github.com/containers/podman/v4/pkg/api/handlers"
"github.com/sirupsen/logrus"
- "github.com/containers/podman/v3/libpod/define"
+ "github.com/containers/podman/v4/libpod/define"
- "github.com/containers/podman/v3/libpod"
+ "github.com/containers/podman/v4/libpod"
"github.com/gorilla/schema"
"github.com/pkg/errors"
)
diff --git a/pkg/api/handlers/utils/errors.go b/pkg/api/handlers/utils/errors.go
index 4a8005bfd..1bce19c10 100644
--- a/pkg/api/handlers/utils/errors.go
+++ b/pkg/api/handlers/utils/errors.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "github.com/containers/podman/v3/libpod/define"
- "github.com/containers/podman/v3/pkg/errorhandling"
+ "github.com/containers/podman/v4/libpod/define"
+ "github.com/containers/podman/v4/pkg/errorhandling"
"github.com/containers/storage"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
diff --git a/pkg/api/handlers/utils/handler.go b/pkg/api/handlers/utils/handler.go
index ee83755a1..a9b6f0659 100644
--- a/pkg/api/handlers/utils/handler.go
+++ b/pkg/api/handlers/utils/handler.go
@@ -10,7 +10,7 @@ import (
"unsafe"
"github.com/blang/semver"
- "github.com/containers/podman/v3/version"
+ "github.com/containers/podman/v4/version"
"github.com/gorilla/mux"
jsoniter "github.com/json-iterator/go"
"github.com/pkg/errors"
diff --git a/pkg/api/handlers/utils/handler_test.go b/pkg/api/handlers/utils/handler_test.go
index 5957e7d74..924f5d246 100644
--- a/pkg/api/handlers/utils/handler_test.go
+++ b/pkg/api/handlers/utils/handler_test.go
@@ -7,7 +7,7 @@ import (
"net/http/httptest"
"testing"
- "github.com/containers/podman/v3/version"
+ "github.com/containers/podman/v4/version"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/handlers/utils/images.go b/pkg/api/handlers/utils/images.go
index 639de9915..15b16bc43 100644
--- a/pkg/api/handlers/utils/images.go
+++ b/pkg/api/handlers/utils/images.go
@@ -10,9 +10,9 @@ import (
storageTransport "github.com/containers/image/v5/storage"
"github.com/containers/image/v5/transports/alltransports"
"github.com/containers/image/v5/types"
- "github.com/containers/podman/v3/libpod"
- api "github.com/containers/podman/v3/pkg/api/types"
- "github.com/containers/podman/v3/pkg/util"
+ "github.com/containers/podman/v4/libpod"
+ api "github.com/containers/podman/v4/pkg/api/types"
+ "github.com/containers/podman/v4/pkg/util"
"github.com/containers/storage"
"github.com/docker/distribution/reference"
"github.com/pkg/errors"