mirror of
https://github.com/containers/podman.git
synced 2025-05-22 17:46:52 +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:
@ -43,8 +43,8 @@ var (
|
||||
// clients to shop for the Version they wish to support
|
||||
APIVersion = map[VersionTree]map[VersionLevel]semver.Version{
|
||||
LibpodTree: {
|
||||
CurrentAPIVersion: semver.MustParse("1.0.0"),
|
||||
MinimalAPIVersion: semver.MustParse("1.0.0"),
|
||||
CurrentAPIVersion: semver.MustParse("2.0.0"),
|
||||
MinimalAPIVersion: semver.MustParse("2.0.0"),
|
||||
},
|
||||
CompatTree: {
|
||||
CurrentAPIVersion: semver.MustParse("1.40.0"),
|
||||
|
Reference in New Issue
Block a user