summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/version.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-29 17:14:26 +0000
committerGitHub <noreply@github.com>2021-03-29 17:14:26 +0000
commit26b0ebd22f0a516eae9daf2439697f1f793894cc (patch)
treeee369f8ec30af3b74d29787e43799b2fb7eed8f9 /pkg/api/handlers/compat/version.go
parentb7bb8a1fb942a0568a1ff257798702bd0cde5d37 (diff)
parent127400880a1a3d53d4d4eb454cc9f35ddc89e79a (diff)
downloadpodman-26b0ebd22f0a516eae9daf2439697f1f793894cc.tar.gz
podman-26b0ebd22f0a516eae9daf2439697f1f793894cc.tar.bz2
podman-26b0ebd22f0a516eae9daf2439697f1f793894cc.zip
Merge pull request #9516 from rhatdan/shrink
[NO TESTS NEEDED] Shrink the size of podman bindings
Diffstat (limited to 'pkg/api/handlers/compat/version.go')
-rw-r--r--pkg/api/handlers/compat/version.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/api/handlers/compat/version.go b/pkg/api/handlers/compat/version.go
index fae147440..f1cd77a9a 100644
--- a/pkg/api/handlers/compat/version.go
+++ b/pkg/api/handlers/compat/version.go
@@ -10,8 +10,8 @@ import (
"github.com/containers/podman/v3/libpod/define"
"github.com/containers/podman/v3/pkg/api/handlers/utils"
"github.com/containers/podman/v3/pkg/domain/entities"
+ "github.com/containers/podman/v3/pkg/domain/entities/types"
"github.com/containers/podman/v3/version"
- docker "github.com/docker/docker/api/types"
"github.com/pkg/errors"
)
@@ -32,7 +32,7 @@ func VersionHandler(w http.ResponseWriter, r *http.Request) {
return
}
- components := []docker.ComponentVersion{{
+ components := []types.ComponentVersion{{
Name: "Podman Engine",
Version: versionInfo.Version,
Details: map[string]string{
@@ -52,7 +52,7 @@ func VersionHandler(w http.ResponseWriter, r *http.Request) {
minVersion := version.APIVersion[version.Compat][version.MinimalAPI]
utils.WriteResponse(w, http.StatusOK, entities.ComponentVersion{
- Version: docker.Version{
+ Version: types.Version{
Platform: struct {
Name string
}{