diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-09 17:02:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 17:02:58 +0200 |
commit | d8a065dab377a7bf48680d53d0839b2c7f62d003 (patch) | |
tree | c7912491d050ecac2eb673e341f726bdcd3d63c2 /pkg/adapter/runtime.go | |
parent | 627dbd49c5a80146e5806797243b63d0bd157760 (diff) | |
parent | d202e010af95b79230e5aaf88eb04168e73fac95 (diff) | |
download | podman-d8a065dab377a7bf48680d53d0839b2c7f62d003.tar.gz podman-d8a065dab377a7bf48680d53d0839b2c7f62d003.tar.bz2 podman-d8a065dab377a7bf48680d53d0839b2c7f62d003.zip |
Merge pull request #3087 from jwhonce/wip/version
Add information when running `podman version` on client
Diffstat (limited to 'pkg/adapter/runtime.go')
-rw-r--r-- | pkg/adapter/runtime.go | 8 |
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() +} |