mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
api.go:108 Error parsing media type: error: mime: no media type
fix
This commit is contained in:
parent
df697b4318
commit
104a86936a
1 changed files with 2 additions and 0 deletions
|
@ -801,6 +801,8 @@ func TestPostContainersStart(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
|
||||
r := httptest.NewRecorder()
|
||||
if err := postContainersStart(srv, APIVERSION, r, req, map[string]string{"name": container.ID}); err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
Loading…
Add table
Reference in a new issue