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:
Brad Fitzpatrick 2012-03-15 15:10:01 -07:00
parent bd6404a4cc
commit c898c519b0
1 changed files with 3 additions and 1 deletions

View File

@ -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
}