summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-05 04:10:29 -0500
committerGitHub <noreply@github.com>2021-02-05 04:10:29 -0500
commit4a0ae01261f2aa90c37d95b7cc4415682e96dead (patch)
tree7e9c1e753a7b850dbaf71886888097d9a1eb2897
parentb1bd126cdab1c654570a49b13385a57b5d41f8fd (diff)
parent002f2aca70ec66ce988816317e151d3078348a5c (diff)
downloadpodman-4a0ae01261f2aa90c37d95b7cc4415682e96dead.tar.gz
podman-4a0ae01261f2aa90c37d95b7cc4415682e96dead.tar.bz2
podman-4a0ae01261f2aa90c37d95b7cc4415682e96dead.zip
Merge pull request #9182 from mheon/bump_api
Bump remote API version to 3.0.0
-rw-r--r--pkg/api/handlers/utils/handler.go4
-rw-r--r--test/apiv2/01-basic.at4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkg/api/handlers/utils/handler.go b/pkg/api/handlers/utils/handler.go
index ebbe7f24f..b3c674788 100644
--- a/pkg/api/handlers/utils/handler.go
+++ b/pkg/api/handlers/utils/handler.go
@@ -44,8 +44,8 @@ var (
// clients to shop for the Version they wish to support
APIVersion = map[VersionTree]map[VersionLevel]semver.Version{
LibpodTree: {
- CurrentAPIVersion: semver.MustParse("2.0.0"),
- MinimalAPIVersion: semver.MustParse("2.0.0"),
+ CurrentAPIVersion: semver.MustParse("3.0.0"),
+ MinimalAPIVersion: semver.MustParse("3.0.0"),
},
CompatTree: {
CurrentAPIVersion: semver.MustParse("1.40.0"),
diff --git a/test/apiv2/01-basic.at b/test/apiv2/01-basic.at
index f550d5fc3..1ddf49c6f 100644
--- a/test/apiv2/01-basic.at
+++ b/test/apiv2/01-basic.at
@@ -18,8 +18,8 @@ t HEAD libpod/_ping 200
for i in /version version; do
t GET $i 200 \
.Components[0].Name="Podman Engine" \
- .Components[0].Details.APIVersion=2.0.0 \
- .Components[0].Details.MinAPIVersion=2.0.0 \
+ .Components[0].Details.APIVersion=3.0.0 \
+ .Components[0].Details.MinAPIVersion=3.0.0 \
.Components[0].Details.Os=linux \
.ApiVersion=1.40 \
.MinAPIVersion=1.24 \