-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/frontend: use statusNotFoundInVersionMap for frontend fetch
Previously, we used http.StatusProcessing and http.StatusNoContent to indicate when a row did not exist in the version_map table. Neither of these status codes fit well, so our own error code is defined for the case when a module path has not been processed yet: statusNotFoundInVersionMap. For golang/go#36811 For golang/go#37002 Change-Id: Ia55972bfbfb1950ad82254d8f1082dda052bf376 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/245020 Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters