mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Review feedback
This commit is contained in:
@@ -249,9 +249,7 @@ func (c *appClient) publish(r io.Reader) error {
|
||||
// req.Header.Set("Content-Type", "application/binary") // TODO: we should use http.DetectContentType(..) on the gob'ed
|
||||
|
||||
// Make sure this request is cancelled when we stop the client
|
||||
c.mtx.Lock()
|
||||
req.Cancel = c.quit
|
||||
c.mtx.Unlock()
|
||||
|
||||
resp, err := c.client.Do(req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user