mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
Refactor API version values
* API-Version header now Major.Minor to support tools parsing this header * Libpod Version updated to 2.0.0 to reflect changes in API field values * API-Version and Libpod-API-Version headers are now included in all results Fixes #7327 * Header support tested against goland 2020.2 and https://www.jetbrains.com/help/idea/docker.html plugin Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -18,11 +18,11 @@ t HEAD libpod/_ping 200
|
||||
for i in /version version; do
|
||||
t GET $i 200 \
|
||||
.Components[0].Name="Podman Engine" \
|
||||
.Components[0].Details.APIVersion=1.0.0 \
|
||||
.Components[0].Details.MinAPIVersion=1.0.0 \
|
||||
.Components[0].Details.APIVersion=2.0.0 \
|
||||
.Components[0].Details.MinAPIVersion=2.0.0 \
|
||||
.Components[0].Details.Os=linux \
|
||||
.ApiVersion=1.0.0 \
|
||||
.MinAPIVersion=1.0.0 \
|
||||
.ApiVersion=1.40 \
|
||||
.MinAPIVersion=1.24 \
|
||||
.Os=linux
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user