Skip to content

Commit

Permalink
cleanup(cmd/install_bin): Remove .ArchK9s from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Feb 23, 2023
1 parent d7a91bc commit 5185dcb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/install_bin/install_bin.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func getUrl(
"OsK6": k6_Os(os_),
"Arch": arch,
"ArchDocker": dockerArch(arch),
"ArchK9s": k9sArch(arch),
"Version": version,
})
if err != nil {
Expand Down Expand Up @@ -100,7 +99,6 @@ func getSourcePath(
"OsK6": k6_Os(os_),
"Arch": arch,
"ArchDocker": dockerArch(arch),
"ArchK9s": k9sArch(arch),
"Version": version,
})
if err != nil {
Expand Down Expand Up @@ -249,13 +247,6 @@ func dockerArch(arch string) string {
return ""
}

func k9sArch(arch string) string {
if arch == "amd64" {
return "x86_64"
}
return arch
}

func k6_Os(osName string) string {
if osName == "darwin" {
return "macos"
Expand Down

0 comments on commit 5185dcb

Please sign in to comment.