add logpath to docker inspect.

Signed-off-by: Bradley Cicenas <bradley.cicenas@gmail.com>
This commit is contained in:
Bradley Cicenas
2015-02-18 10:19:52 -05:00
parent 2f024bd9e1
commit 06c01b02f5
6 changed files with 14 additions and 4 deletions
+1 -1
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")