diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-05-08 10:16:14 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-05-08 15:57:26 -0700 |
commit | 931bd5ace6d6efa19e0b123d8d70b273ea79d5ab (patch) | |
tree | b60a06da9fcc73f66be53eae6db86db8342f7fab /pkg/domain/infra/tunnel/system.go | |
parent | 5c7ac1ba7812a99e59251cf49f7fb2a9c2429e11 (diff) | |
download | podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.tar.gz podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.tar.bz2 podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.zip |
V2 Impliment tunnelled podman version
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel/system.go')
-rw-r--r-- | pkg/domain/infra/tunnel/system.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/system.go b/pkg/domain/infra/tunnel/system.go index d00795741..dafada805 100644 --- a/pkg/domain/infra/tunnel/system.go +++ b/pkg/domain/infra/tunnel/system.go @@ -34,3 +34,7 @@ func (ic *ContainerEngine) SystemDf(ctx context.Context, options entities.System func (ic *ContainerEngine) Unshare(ctx context.Context, args []string) error { return errors.New("unshare is not supported on remote clients") } + +func (ic ContainerEngine) Version(ctx context.Context) (*entities.SystemVersionReport, error) { + return system.Version(ic.ClientCxt) +} |