Skip to content

Commit 0538a5d

Browse files
authored
Added comment for pin. (#4509)
Signed-off-by: Peter Štibraný <[email protected]>
1 parent fb15b43 commit 0538a5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

go.mod

+4
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,8 @@ replace github.com/bradfitz/gomemcache => github.com/themihai/gomemcache v0.0.0-
8181
// TODO review the change introduced by https://github.com/grpc/grpc-go/pull/4416 before upgrading to 1.39.0
8282
replace google.golang.org/grpc => google.golang.org/grpc v1.38.0
8383

84+
// We only pin this version to avoid problems with running go get: github.com/thanos-io/thanos@main. That
85+
// currently fails because Thanos isn't merging release branches to main branch, and Go modules system is then
86+
// confused about which version is the latest one. v0.22.0 was released in July, but latest tag reachable from main
87+
// is v0.19.1. We pin version from late september here. Feel free to remove when updating to later version.
8488
replace github.com/thanos-io/thanos v0.22.0 => github.com/thanos-io/thanos v0.19.1-0.20210923155558-c15594a03c45

0 commit comments

Comments
 (0)