mirror of
https://github.com/golang/go.git
synced 2026-06-28 03:40:37 +00:00
cmd/internal: fix error message
Change-Id: I23421c2c0bd2b3212cdb46efeeaa5e4c5836645c
GitHub-Last-Rev: 85985614ef
GitHub-Pull-Request: golang/go#79202
Reviewed-on: https://go-review.googlesource.com/c/go/+/774180
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
This commit is contained in:
parent
f2b1b38293
commit
8908cc14cc
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ func DefaultConds() map[string]Cond {
|
|||
return true, nil
|
||||
}
|
||||
if _, ok := syslist.KnownArch[suffix]; !ok {
|
||||
return false, fmt.Errorf("unrecognized GOOS %q", suffix)
|
||||
return false, fmt.Errorf("unrecognized GOARCH %q", suffix)
|
||||
}
|
||||
return false, nil
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue