From c94d2f47b9232e8097137b30a1c0f3365a2981d1 Mon Sep 17 00:00:00 2001 From: ddl-ebrown Date: Wed, 4 Sep 2024 12:19:33 -0700 Subject: [PATCH] Remove explict go toolchain versions 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 --- 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