Refactor version handling in cmd tree

* Move from simple string to semver objects
* Change client API Version from '1' to 2.0.0

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2020-09-18 14:10:14 -07:00
parent 5b7509c562
commit c4b49afad3
11 changed files with 29 additions and 19 deletions

View File

@ -22,5 +22,5 @@ var (
PFalse = &pFalse
// APIVersion - podman will fail to run if this value is wrong
APIVersion = semver.MustParse("1.0.0")
APIVersion = semver.MustParse("2.0.0")
)