-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/modinfo/internal/pkgsitedb: fix build on plan9
Package pkgsitedb doesn't work on plan9 because a dependency doesn't support it. It was meant to return a runtime error in the db_plan9.go implementation, but it looks like there was a mixup with a similar pkgsitedb package at golang.org/x/pkgsite-metrics/internal/pkgsitedb. After these changes, it and all of its tests compile on GOOS=plan9: $ GOOS=plan9 GOARCH=amd64 go test -c -o=/dev/null ./... [...] $ echo $? 0 Also run 'go mod tidy' to drop the x/pkgsite-metric requirement. For golang/go#61698. Change-Id: Ia016b5705894029380840ce8499047e264054e9f Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/518095 Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
- Loading branch information
Showing
3 changed files
with
22 additions
and
8 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
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