Use IDResponse for container create response.
Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: c8d5e7203e1ae140a5cca312b6699063b521cf83 Component: engine
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user