summaryrefslogtreecommitdiff
path: root/pkg/adapter/runtime.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-05-08 10:32:28 -0700
committerJhon Honce <jhonce@redhat.com>2019-05-08 11:29:03 -0700
commitd202e010af95b79230e5aaf88eb04168e73fac95 (patch)
treee20d2403a3433e8b87c04c175d2bd2d3f6c2301f /pkg/adapter/runtime.go
parent64d1a357e8299c5fcecd4141091424419111cdee (diff)
downloadpodman-d202e010af95b79230e5aaf88eb04168e73fac95.tar.gz
podman-d202e010af95b79230e5aaf88eb04168e73fac95.tar.bz2
podman-d202e010af95b79230e5aaf88eb04168e73fac95.zip
Add information when running podman version on client
* Include service version information and headers Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/adapter/runtime.go')
-rw-r--r--pkg/adapter/runtime.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/adapter/runtime.go b/pkg/adapter/runtime.go
index 0d840d65b..21613c425 100644
--- a/pkg/adapter/runtime.go
+++ b/pkg/adapter/runtime.go
@@ -5,12 +5,13 @@ package adapter
import (
"bufio"
"context"
- "github.com/containers/libpod/cmd/podman/shared"
"io"
"io/ioutil"
"os"
"text/template"
+ "github.com/containers/libpod/cmd/podman/shared"
+
"github.com/containers/buildah"
"github.com/containers/buildah/imagebuildah"
"github.com/containers/buildah/pkg/parse"
@@ -392,3 +393,8 @@ func (r *LocalRuntime) GetPodsByStatus(statuses []string) ([]*libpod.Pod, error)
return pods, nil
}
+
+// GetVersion is an alias to satisfy interface{}
+func (r *LocalRuntime) GetVersion() (libpod.Version, error) {
+ return libpod.GetVersion()
+}