From 8d425e3372813b53a9bce47ca0248d660fecbf70 Mon Sep 17 00:00:00 2001 From: Andreas Auernhammer Date: Mon, 13 Jul 2020 16:46:34 +0200 Subject: [PATCH] fix etcd module dependency (#10032) This commit fixes a dependency resolution problem w.r.t. minio => etcd. Building any project depending on minio (e.g. mc) currently fails with latest master since the module replace directive is not honored for transitive / indirect dependencies. This commit fixes this by adding the etcd module directly instead of using a module replace instruction. --- go.mod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index d1176c76a..15e410dd9 100644 --- a/go.mod +++ b/go.mod @@ -79,7 +79,7 @@ require ( github.com/willf/bitset v1.1.10 // indirect github.com/willf/bloom v2.0.3+incompatible github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c - go.etcd.io/etcd/v3 v3.0.0-00010101000000-000000000000 + go.etcd.io/etcd/v3 v3.3.0-rc.0.0.20200707003333-58bb8ae09f8e golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 golang.org/x/net v0.0.0-20200602114024-627f9648deb9 golang.org/x/sys v0.0.0-20200610111108-226ff32320da @@ -89,5 +89,3 @@ require ( gopkg.in/olivere/elastic.v5 v5.0.80 gopkg.in/yaml.v2 v2.2.8 ) - -replace go.etcd.io/etcd/v3 => go.etcd.io/etcd/v3 v3.3.0-rc.0.0.20200707003333-58bb8ae09f8e