Skip to content

Commit

Permalink
internal/fetch: add correct canonical path for IBM/sarama
Browse files Browse the repository at this point in the history
Similar to golang/go#52192 we need to add lowercase ibm/sarama to the
knownAlternatives map to ensure the canonical uppercase variant
(asdefined in go.mod) is chosen in preference.

Fixes golang/go#71256

Change-Id: I190dafa0495adae304f25a5b194e74aa23f2079e
GitHub-Last-Rev: eeafa01
GitHub-Pull-Request: #107
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/642600
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
kokoro-CI: kokoro <[email protected]>
  • Loading branch information
dnwe authored and findleyr committed Jan 17, 2025
1 parent 5cd78ab commit 0a57e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/fetch/known_alternatives.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var knownAlternatives = map[string]string{
"github.com/aliyun/alibaba-cloud-sdk-go": "github.com/Azure/azure-sdk-for-go",
"github.com/johnstairs/azure-sdk-for-go": "github.com/Azure/azure-sdk-for-go",
"github.com/shopify/sarama": "github.com/Shopify/sarama",
"github.com/ibm/sarama": "github.com/IBM/sarama",
}

// knownAlternativeFor returns the module that the given module path is an alternative to,
Expand Down

0 comments on commit 0a57e24

Please sign in to comment.