summaryrefslogtreecommitdiff
path: root/pkg/adapter/containers_remote.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-03-26 08:08:40 -0500
committerbaude <bbaude@redhat.com>2019-03-26 10:14:58 -0500
commit7f2221d48f7d0df8cc5beed70ff5dbc57bca3529 (patch)
tree7676e6ac3bd0ab34970d7a8f2616e4ebc5cd7ad8 /pkg/adapter/containers_remote.go
parent60b009af4ef1415b83e0419ba41381912693ab86 (diff)
downloadpodman-7f2221d48f7d0df8cc5beed70ff5dbc57bca3529.tar.gz
podman-7f2221d48f7d0df8cc5beed70ff5dbc57bca3529.tar.bz2
podman-7f2221d48f7d0df8cc5beed70ff5dbc57bca3529.zip
size is optional for container inspection
on the remote client, if a user wants to know the rootfs size of a container, a -s should be passed. this corrects a behavior where size was shown by default. Fixes #2765 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/adapter/containers_remote.go')
-rw-r--r--pkg/adapter/containers_remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go
index a8146567a..2982d6cbb 100644
--- a/pkg/adapter/containers_remote.go
+++ b/pkg/adapter/containers_remote.go
@@ -22,7 +22,7 @@ import (
// Inspect returns an inspect struct from varlink
func (c *Container) Inspect(size bool) (*inspect.ContainerInspectData, error) {
- reply, err := iopodman.ContainerInspectData().Call(c.Runtime.Conn, c.ID())
+ reply, err := iopodman.ContainerInspectData().Call(c.Runtime.Conn, c.ID(), size)
if err != nil {
return nil, err
}