Skip to content

Commit

Permalink
Fix bug introduced via #1007
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Feb 24, 2024
1 parent 801ffce commit f367ee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/get/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f367ee4

Please sign in to comment.