summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/system.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-05-08 10:16:14 -0700
committerJhon Honce <jhonce@redhat.com>2020-05-08 15:57:26 -0700
commit931bd5ace6d6efa19e0b123d8d70b273ea79d5ab (patch)
treeb60a06da9fcc73f66be53eae6db86db8342f7fab /pkg/domain/infra/tunnel/system.go
parent5c7ac1ba7812a99e59251cf49f7fb2a9c2429e11 (diff)
downloadpodman-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.go4
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)
+}