diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-09-18 14:10:14 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-09-18 15:13:58 -0700 |
commit | c4b49afad37b4e64a1aa2b90f4d3b04626fabd44 (patch) | |
tree | 12ea0c158c3d51c3ed571706f22668ba48474d1d /pkg/domain/infra | |
parent | 5b7509c562e040ab8ed17990299c0b6eb52cecee (diff) | |
download | podman-c4b49afad37b4e64a1aa2b90f4d3b04626fabd44.tar.gz podman-c4b49afad37b4e64a1aa2b90f4d3b04626fabd44.tar.bz2 podman-c4b49afad37b4e64a1aa2b90f4d3b04626fabd44.zip |
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>
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r-- | pkg/domain/infra/abi/system_varlink.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/system_varlink.go b/pkg/domain/infra/abi/system_varlink.go index d0a5c5407..ead84fc84 100644 --- a/pkg/domain/infra/abi/system_varlink.go +++ b/pkg/domain/infra/abi/system_varlink.go @@ -22,7 +22,7 @@ func (ic *ContainerEngine) VarlinkService(_ context.Context, opts entities.Servi service, err := varlink.NewService( "Atomic", "podman", - version.Version, + version.Version.String(), "https://github.com/containers/podman", ) if err != nil { |