From 7f2221d48f7d0df8cc5beed70ff5dbc57bca3529 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 26 Mar 2019 08:08:40 -0500 Subject: 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 --- API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'API.md') diff --git a/API.md b/API.md index 9751f5258..f7f5525bf 100755 --- a/API.md +++ b/API.md @@ -15,7 +15,7 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func ContainerExists(name: string) int](#ContainerExists) -[func ContainerInspectData(name: string) string](#ContainerInspectData) +[func ContainerInspectData(name: string, size: bool) string](#ContainerInspectData) [func ContainerRestore(name: string, keep: bool, tcpEstablished: bool) string](#ContainerRestore) @@ -300,7 +300,7 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.ContainerExists '{"name": ### func ContainerInspectData
-method ContainerInspectData(name: [string](https://godoc.org/builtin#string)) [string](https://godoc.org/builtin#string)
+method ContainerInspectData(name: [string](https://godoc.org/builtin#string), size: [bool](https://godoc.org/builtin#bool)) [string](https://godoc.org/builtin#string) ContainerInspectData returns a container's inspect data in string form. This call is for development of Podman only and generally should not be used. ### func ContainerRestore -- cgit v1.2.3-54-g00ecf