mirror of https://github.com/golang/go.git
cmd/go: quiet some logging
This should've been behind -v before but was missed. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5836046
This commit is contained in:
parent
bd6404a4cc
commit
c898c519b0
|
|
@ -80,6 +80,8 @@ func httpsOrHTTP(importPath string) (urlStr string, body io.ReadCloser, err erro
|
|||
}
|
||||
// Note: accepting a non-200 OK here, so people can serve a
|
||||
// meta import in their http 404 page.
|
||||
log.Printf("Parsing meta tags from %s (status code %d)", urlStr, res.StatusCode)
|
||||
if buildV {
|
||||
log.Printf("Parsing meta tags from %s (status code %d)", urlStr, res.StatusCode)
|
||||
}
|
||||
return urlStr, res.Body, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue