From 0f59f04f578717132b66d16214d1247d3d7a2a24 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 29 Sep 2023 00:22:37 -0700 Subject: [PATCH] Update minimum Go version to 1.19 On Go 1.18 since a5ebe2282aabaf983c116525af4a7c5eeedf2c6e, we get: # github.com/docker/docker-credential-helpers/client vendor/github.com/docker/docker-credential-helpers/client/command.go:34:39: programCmd.Environ undefined (type *exec.Cmd has no field or method Environ) note: module requires Go 1.19 # github.com/docker/cli/cli/connhelper/commandconn cli/connhelper/commandconn/commandconn.go:71:22: undefined: atomic.Bool cli/connhelper/commandconn/commandconn.go:76:22: undefined: atomic.Bool cli/connhelper/commandconn/commandconn.go:77:22: undefined: atomic.Bool cli/connhelper/commandconn/commandconn.go:78:22: undefined: atomic.Bool These go away when building against 1.19+. Signed-off-by: Tianon Gravi --- scripts/vendor | 4 ++-- vendor.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/vendor b/scripts/vendor index 687e57cb05..0812e41c67 100755 --- a/scripts/vendor +++ b/scripts/vendor @@ -18,12 +18,12 @@ init() { cat > go.mod <