mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Change API route for containers/ and images/ in order to avoid conflict
This commit is contained in:
parent
ff67da9c86
commit
152ebeea43
4 changed files with 54 additions and 62 deletions
|
|
@ -18,7 +18,7 @@ func TestCreateRm(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
id, _, _, err := srv.ContainerCreate(*config)
|
||||
id, err := srv.ContainerCreate(config)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
@ -51,7 +51,7 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
id, _, _, err := srv.ContainerCreate(*config)
|
||||
id, err := srv.ContainerCreate(config)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue