From f367ee4c3a21e194eddbae1973e13ec663482bb9 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Sat, 24 Feb 2024 09:40:37 +0000 Subject: [PATCH] Fix bug introduced via #1007 Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- pkg/get/get_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/get/get_test.go b/pkg/get/get_test.go index 50a392365..986b12f4d 100644 --- a/pkg/get/get_test.go +++ b/pkg/get/get_test.go @@ -423,19 +423,19 @@ func Test_DownloadKubectl(t *testing.T) { {os: "darwin", arch: arch64bit, version: "v1.20.0", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.0/bin/darwin/amd64/kubectl"}, + url: "https://dl.k8s.io/release/v1.20.0/bin/darwin/amd64/kubectl"}, {os: "darwin", arch: archDarwinARM64, version: "v1.20.0", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.0/bin/darwin/arm64/kubectl"}, + url: "https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl"}, {os: "linux", arch: arch64bit, version: "v1.20.0", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.0/bin/linux/amd64/kubectl"}, + url: "https://dl.k8s.io/release/v1.20.0/bin/linux/amd64/kubectl"}, {os: "linux", arch: archARM64, version: "v1.20.0", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.0/bin/linux/arm64/kubectl"}, + url: "https://dl.k8s.io/release/v1.20.0/bin/linux/arm64/kubectl"}, } for _, tc := range tests {