From 3c5ae410bc2289205fbbba21f652180c34f6642e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20S=CC=8Ctibrany=CC=81?= Date: Fri, 1 Oct 2021 14:44:56 +0200 Subject: [PATCH] Added comment for pin. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Štibraný --- go.mod | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/go.mod b/go.mod index 667b4cfdd48..3d2a3311595 100644 --- a/go.mod +++ b/go.mod @@ -81,4 +81,8 @@ replace github.com/bradfitz/gomemcache => github.com/themihai/gomemcache v0.0.0- // TODO review the change introduced by https://github.com/grpc/grpc-go/pull/4416 before upgrading to 1.39.0 replace google.golang.org/grpc => google.golang.org/grpc v1.38.0 +// We only pin this version to avoid problems with running go get: github.com/thanos-io/thanos@main. That +// currently fails because Thanos isn't merging release branches to main branch, and Go modules system is then +// confused about which version is the latest one. v0.22.0 was released in July, but latest tag reachable from main +// is v0.19.1. We pin version from late september here. Feel free to remove when updating to later version. replace github.com/thanos-io/thanos v0.22.0 => github.com/thanos-io/thanos v0.19.1-0.20210923155558-c15594a03c45