We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009369a commit b075978Copy full SHA for b075978
cmd/get.go
@@ -3,7 +3,6 @@ package cmd
3
import (
4
"context"
5
"fmt"
6
- "internal/goarch"
7
"net/http"
8
"net/url"
9
sysos "os"
@@ -128,22 +127,11 @@ func (o *downloadOption) fetch() (err error) {
128
127
return
129
}
130
131
-func (o *downloadOption) archFix() {
132
- if o.Arch != "arm" {
133
- return
134
- }
135
-
136
- if goarch.IsArm64 == 1 {
137
- o.Arch = "arm64"
138
139
-}
140
141
func (o *downloadOption) preRunE(cmd *cobra.Command, args []string) (err error) {
142
// this might not be the best way to print schema
143
if o.PrintSchema {
144
145
146
- o.archFix()
147
148
if err = o.fetch(); err != nil {
149
0 commit comments