diff options
author | baude <bbaude@redhat.com> | 2019-04-19 08:33:18 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-05-07 14:06:02 -0500 |
commit | bc7b1ca03da88473c10e59197becd812cf341663 (patch) | |
tree | 13d33a731ca50cd58b71ff7592770ae2afb9807d /pkg/adapter/info_remote.go | |
parent | 7b67c9601e1eab6c881ac44503c285c71b0a4a3a (diff) | |
download | podman-bc7b1ca03da88473c10e59197becd812cf341663.tar.gz podman-bc7b1ca03da88473c10e59197becd812cf341663.tar.bz2 podman-bc7b1ca03da88473c10e59197becd812cf341663.zip |
enable integration tests for remote-client
first pass at enabling a swath of integration tests for the
remote-client.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/adapter/info_remote.go')
-rw-r--r-- | pkg/adapter/info_remote.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/adapter/info_remote.go b/pkg/adapter/info_remote.go index 3b691ed17..3b2d02a5a 100644 --- a/pkg/adapter/info_remote.go +++ b/pkg/adapter/info_remote.go @@ -20,12 +20,7 @@ func (r RemoteRuntime) Info() ([]libpod.InfoData, error) { registries := make(map[string]interface{}) insecureRegistries := make(map[string]interface{}) - conn, err := r.Connect() - if err != nil { - return nil, err - } - defer conn.Close() - info, err := iopodman.GetInfo().Call(conn) + info, err := iopodman.GetInfo().Call(r.Conn) if err != nil { return nil, err } |