Use IDResponse for container create response.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: c8d5e7203e1ae140a5cca312b6699063b521cf83
Component: engine
This commit is contained in:
Daniel Nephin
2016-10-18 17:27:55 -07:00
parent 01541139a5
commit 1759ab5e8b
6 changed files with 8 additions and 21 deletions

View File

@ -67,7 +67,7 @@ func TestContainerCommit(t *testing.T) {
if len(changes) != len(expectedChanges) {
return nil, fmt.Errorf("expected container changes size to be '%d', got %d", len(expectedChanges), len(changes))
}
b, err := json.Marshal(types.ContainerCommitResponse{
b, err := json.Marshal(types.IDResponse{
ID: "new_container_id",
})
if err != nil {