Use ContainerCommitResponse struct for Commit cmd

Signed-off-by: Jamie Hannaford <jamie.hannaford@rackspace.com>
This commit is contained in:
Jamie Hannaford
2015-03-28 17:55:45 +01:00
parent 61069d8b69
commit 8b795a05a8
3 changed files with 15 additions and 8 deletions
+5
View File
@@ -30,3 +30,8 @@ type ContainerWaitResponse struct {
// StatusCode is the status code of the wait job
StatusCode int `json:"StatusCode"`
}
// POST "/commit?container="+containerID
type ContainerCommitResponse struct {
ID string `json:"Id"`
}