mirror of
https://github.com/golang/go
synced 2024-11-17 16:14:42 -07:00
cmd/go/internal/web: fix log message
The web package is now used for proxy fetches, so its logs shouldn't start with "Parsing meta tags". Change-Id: I22a7dce09e3a681544ee4b860f93c63336e547ca Reviewed-on: https://go-review.googlesource.com/c/go/+/174740 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
aaf40f8f98
commit
e5f0d144f9
@ -127,7 +127,7 @@ func get(security SecurityMode, url *urlpkg.URL) (*Response, error) {
|
||||
// Note: accepting a non-200 OK here, so people can serve a
|
||||
// meta import in their http 404 page.
|
||||
if cfg.BuildV {
|
||||
log.Printf("Parsing meta tags from %s (status code %d)", Redacted(fetched), res.StatusCode)
|
||||
log.Printf("reading from %s: status code %d", Redacted(fetched), res.StatusCode)
|
||||
}
|
||||
r := &Response{
|
||||
URL: Redacted(fetched),
|
||||
|
Loading…
Reference in New Issue
Block a user