mirror of
https://github.com/golang/go
synced 2024-11-15 05:40:32 -07:00
cmd/go/internal/telemetrystats: fix assignment to ok
Change-Id: I7ee6198949bd2ea7e92d3e75c94ead04c31be491 Reviewed-on: https://go-review.googlesource.com/c/go/+/588236 Auto-Submit: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
3ea2be1e47
commit
2785f4fad6
@ -34,7 +34,7 @@ func incrementVersionCounters() {
|
||||
}
|
||||
major, minor, ok := majorMinor(convert(v.Release[:]))
|
||||
if runtime.GOOS == "aix" {
|
||||
major, minor, ok = convert(v.Version[:]), convert(v.Release[:]), ok
|
||||
major, minor, ok = convert(v.Version[:]), convert(v.Release[:]), true
|
||||
}
|
||||
if !ok {
|
||||
telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-bad-format", runtime.GOOS))
|
||||
|
Loading…
Reference in New Issue
Block a user