|
resp, body, err := sockRequestRaw("GET", fmt.Sprintf("/containers/%s/stats?stream=false", id), nil, "")
|
|
resp, body, err := sockRequestRaw("GET", fmt.Sprintf("/containers/%s/stats?stream=false", id), nil, "")
|
|
c.Assert(resp.Header.Get("Content-Type"), checker.Equals, "application/json")
|
|
c.Assert(resp.Header.Get("Content-Type"), checker.Equals, "application/json")
|