diff --git a/vendor/github.com/ncw/go-acd/nodes.go b/vendor/github.com/ncw/go-acd/nodes.go index 55011f98e..4a0d74caf 100644 --- a/vendor/github.com/ncw/go-acd/nodes.go +++ b/vendor/github.com/ncw/go-acd/nodes.go @@ -676,6 +676,11 @@ func (s *NodesService) putOrOverwrite(in io.Reader, httpVerb, url, name, metadat return nil, resp, err } + err = <-errChan + if err != nil { + return nil, resp, err + } + return file, resp, err }