]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/telemetrystats: handle cases where there's no patch
authorMichael Matloob <matloob@golang.org>
Thu, 23 May 2024 14:28:58 +0000 (10:28 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 23 May 2024 17:38:57 +0000 (17:38 +0000)
commitc34c124f4007e79978674ba519b9421665060186
treed3769ce122122a1b4404e334cf39eed627a34fd7
parent3ed007d754b685cd8f6011a8e96a3c9303c785db
cmd/go/internal/telemetrystats: handle cases where there's no patch

If there's no second dot assume the version is just a major.minor.

Change-Id: I765d6e8d7c1e63c695a0a3b0c047d86b989f95d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/587796
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/go/internal/telemetrystats/version_unix.go