api.go:108 Error parsing media type: error: mime: no media type
fix Upstream-commit: 104a86936ab2611d6e8e54f5ef686f2e9d231bcf Component: engine
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user