Merge pull request #4191 from simon3z/master

api: add image's id to ContainerStatus
This commit is contained in:
Dawn Chen
2015-02-06 09:35:44 -08:00
5 changed files with 8 additions and 2 deletions

View File

@@ -464,7 +464,8 @@ type ContainerStatus struct {
PodIP string `json:"podIP,omitempty"`
// TODO(dchen1107): Which image the container is running with?
// The image the container is running
Image string `json:"image"`
Image string `json:"image"`
ImageID string `json:"imageID" description:"ID of the container's image"`
}
// PodInfo contains one entry for every container with available info.