From ea189b6c2e0910ad999dc5206727ccf1e91c6bb2 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 13 Sep 2023 14:55:12 +0100 Subject: [PATCH] Fix for VHS URLs for Darwin Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- pkg/get/tools.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/get/tools.go b/pkg/get/tools.go index bf217b204..dfe15cb71 100644 --- a/pkg/get/tools.go +++ b/pkg/get/tools.go @@ -3798,11 +3798,7 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Repo}} {{$extStr = "zip"}} {{- end -}} - {{- if eq $osStr "Darwin"}} - https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Name}}_{{$osStr}}_{{$arch}}.{{$extStr}} - {{- else if or (eq $osStr "Windows") (eq $osStr "Linux") -}} https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Name}}_{{.VersionNumber}}_{{$osStr}}_{{$arch}}.{{$extStr}} - {{- end -}} `, })