Remove unused function

This commit is contained in:
Ciprian Hacman 2020-08-15 10:40:59 +03:00
parent 3f43d047dd
commit 795373a499
1 changed files with 0 additions and 18 deletions

View File

@ -20,8 +20,6 @@ import (
"fmt"
"os"
"runtime"
"k8s.io/klog/v2"
)
type Architecture string
@ -58,19 +56,3 @@ func GetSupported() []Architecture {
ArchitectureArm64,
}
}
func (a Architecture) BuildTags() []string {
var t []string
switch a {
case ArchitectureAmd64:
t = []string{"_amd64"}
case ArchitectureArm64:
t = []string{"_arm64"}
default:
klog.Fatalf("unknown architecture: %s", a)
return nil
}
return t
}