From cee4e1679e868c609ffd1de9862dd54f81acd63b Mon Sep 17 00:00:00 2001 From: "Ethan Brown (Domino)" <111539728+ddl-ebrown@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:07:41 -0700 Subject: [PATCH] Remove explict go toolchain versions (#5723) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - https://github.com/flyteorg/flyte/pull/5032 updated builds to use Go 1.22 -- but in practice it looks like flytectl is being built with an outdated toolchain based on Go 1.22.0 instead of Go 1.22.5 or 1.22.6 (i.e. latest) See https://go.dev/doc/toolchain for further details For instance, flytectl v0.9.0 reports being built with Go 1.22.0 ❯ go version -m -v flytectl flytectl: go1.22.0 Ensure the proper Go environment for security reasons Signed-off-by: ddl-ebrown Signed-off-by: Bugra Gedik --- datacatalog/go.mod | 2 -- flytectl/go.mod | 2 -- 2 files changed, 4 deletions(-) diff --git a/datacatalog/go.mod b/datacatalog/go.mod index 4662039c7e..ecc793c76b 100644 --- a/datacatalog/go.mod +++ b/datacatalog/go.mod @@ -2,8 +2,6 @@ module github.com/flyteorg/flyte/datacatalog go 1.22 -toolchain go1.22.1 - require ( github.com/Selvatico/go-mocket v1.0.7 github.com/flyteorg/flyte/flyteidl v0.0.0-00010101000000-000000000000 diff --git a/flytectl/go.mod b/flytectl/go.mod index 0298ad38f0..d783ac0513 100644 --- a/flytectl/go.mod +++ b/flytectl/go.mod @@ -2,8 +2,6 @@ module github.com/flyteorg/flyte/flytectl go 1.22 -toolchain go1.22.0 - require ( github.com/apoorvam/goterminal v0.0.0-20180523175556-614d345c47e5 github.com/avast/retry-go v3.0.0+incompatible