summaryrefslogtreecommitdiffhomepage
path: root/version-embed.go
diff options
context:
space:
mode:
authorMarc Paquette <marcphilippaquette@gmail.com>2024-12-28 01:29:34 -0500
committerBrad Fitzpatrick <brad@danga.com>2025-01-04 15:11:10 -0800
commit36ea792f06f7871ebd9f0f092e9950835b280f7a (patch)
tree5bbb78752faeab75693591e40e1d702e49f79265 /version-embed.go
parent60930d19c06de9469f4b65f4fd79eacdba3e3ee1 (diff)
downloadtailscale-36ea792f06f7871ebd9f0f092e9950835b280f7a.tar.xz
tailscale-36ea792f06f7871ebd9f0f092e9950835b280f7a.zip
Fix various linting, vet & static check issues
Fixes #14492 ----- Developer Certificate of Origin Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. Change-Id: I6dc1068d34bbfa7477e7b7a56a4325b3868c92e1 Signed-off-by: Marc Paquette <marcphilippaquette@gmail.com>
Diffstat (limited to 'version-embed.go')
-rw-r--r--version-embed.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/version-embed.go b/version-embed.go
index 2d517339d..17bf578dd 100644
--- a/version-embed.go
+++ b/version-embed.go
@@ -26,6 +26,7 @@ var AlpineDockerTag string
//go:embed go.toolchain.rev
var GoToolchainRev string
+//lint:ignore U1000 used by tests + assert_ts_toolchain_match.go w/ right build tags
func tailscaleToolchainRev() (gitHash string, ok bool) {
bi, ok := debug.ReadBuildInfo()
if !ok {