Add the missing container log path in container status.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-10-30 05:57:13 +00:00
parent 1d14c11dcb
commit 4e6e1cab0d
2 changed files with 3 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ func getContainerStatusTestData() (*containerstore.Metadata, *containerstore.Sta
SandboxID: "test-sandbox-id",
Config: config,
ImageRef: "test-image-id",
LogPath: "test-log-path",
}
status := &containerstore.Status{
Pid: 1234,
@@ -76,6 +77,7 @@ func getContainerStatusTestData() (*containerstore.Metadata, *containerstore.Sta
Labels: config.GetLabels(),
Annotations: config.GetAnnotations(),
Mounts: config.GetMounts(),
LogPath: "test-log-path",
}
return metadata, status, image, expected