commit | 022162a91249105fd3d6fbf25ce7722a7c6e1321 | [log] [tgz] |
---|---|---|
author | Robert Findley <rfindley@google.com> | Mon Apr 10 09:41:40 2023 -0400 |
committer | Robert Findley <rfindley@google.com> | Wed Apr 12 13:12:42 2023 +0000 |
tree | 197d3f11775287479a278f55879c1cdeec2f2363 | |
parent | beceacdece62d95d6dc41a9b5f09da7b2a021020 [diff] |
internal/frontend: add missing early return to retry fetch errors A missing early return was causing retryable fetch errors not to be retried by the frontend. I spent a little while trying to test this, and it proved too difficult and invasive. Unfortunately this may be a case where it is not worthwhile to significantly refactor in order to improve testability. Updates golang/go#59464 Change-Id: I0293a71d6be5046a4efe8b7ff490e285f912af3e Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/482162 Reviewed-by: Daniel Martà <mvdan@mvdan.cc> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Run-TryBot: Robert Findley <rfindley@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
Pkgsite requires Go 1.19 to run. The last commit that works with Go 1.18 is 9ffe8b928e4fbd3ff7dcf984254629a47f8b6e63. The last commit that works with Go 1.17 is 4d836c6a652cde92f433967680dfd6171a91ec12.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see pkg.go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.