1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

add logpath to docker inspect.

Signed-off-by: Bradley Cicenas <bradley.cicenas@gmail.com>
This commit is contained in:
Bradley Cicenas
2015-02-06 12:25:42 -05:00
parent 2f024bd9e1
commit 06c01b02f5
6 changed files with 14 additions and 4 deletions

View File

@ -34,7 +34,7 @@ func TestInspectApiContainerResponse(t *testing.T) {
t.Fatalf("unable to unmarshal body for %s version: %v", testVersion, err)
}
keys := []string{"State", "Created", "Path", "Args", "Config", "Image", "NetworkSettings", "ResolvConfPath", "HostnamePath", "HostsPath", "Name", "Driver", "ExecDriver", "MountLabel", "ProcessLabel", "Volumes", "VolumesRW"}
keys := []string{"State", "Created", "Path", "Args", "Config", "Image", "NetworkSettings", "ResolvConfPath", "HostnamePath", "HostsPath", "LogPath", "Name", "Driver", "ExecDriver", "MountLabel", "ProcessLabel", "Volumes", "VolumesRW"}
if testVersion == "v1.11" {
keys = append(keys, "ID")