From f76fdc99d82b36087755139125d5d46b3c72c8d9 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Tue, 3 Sep 2019 14:56:44 +0200 Subject: [PATCH] when creating the go mod replace git.apache.org/thrift.git to github.com/apache/thrift (#12033) --- utils/test_files_compiler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/test_files_compiler.go b/utils/test_files_compiler.go index 3ff81c2674..7e4bb4a4a7 100644 --- a/utils/test_files_compiler.go +++ b/utils/test_files_compiler.go @@ -49,6 +49,7 @@ func CompileGo(t *testing.T, sourceCode, outputPath string) { goMod(t, dir, "init", "mattermost.com/test") goMod(t, dir, "edit", "-require", "github.com/mattermost/mattermost-server@v0.0.0") goMod(t, dir, "edit", "-replace", fmt.Sprintf("github.com/mattermost/mattermost-server@v0.0.0=%s", mattermostServerPath)) + goMod(t, dir, "edit", "-replace", fmt.Sprintf("git.apache.org/thrift.git=%s", "github.com/apache/thrift@v0.0.0-20180902110319-2566ecd5d999")) } out := &bytes.Buffer{}