diff options
| author | Alex Chan <alexc@tailscale.com> | 2026-04-16 12:53:47 +0100 |
|---|---|---|
| committer | Alex Chan <alex@alexwlchan.net> | 2026-04-16 13:45:29 +0100 |
| commit | 4f47c3c93d71dd4436e9163d9aa4bb7fc82a1ae8 (patch) | |
| tree | 8e927c91ed402dded8bafc3a4bf6314637101155 | |
| parent | d3ba1480f5c23def55578f9cc086a0d2c6b9a1a9 (diff) | |
| download | tailscale-4f47c3c93d71dd4436e9163d9aa4bb7fc82a1ae8.tar.xz tailscale-4f47c3c93d71dd4436e9163d9aa4bb7fc82a1ae8.zip | |
ipn/ipnlocal: log AUM hash on startup as base32, not hex
Before:
tka initialized at head 325557575a59525354484e4a534f494b4c4e56575435583737564b5036584c4d4c335534554255344c344c36484c5a444a323341
After:
tka initialized at head 2UWWZYRSTHNJSOIKLNVWT5X77VKP6XLML3U4UBU4L4L6HLZDJ23A
Printing the AUM hash as hex makes it difficult to compare to other AUM
hashes; stringifying it will make it consistent with other printing.
Updates #cleanup
Change-Id: Ic1e23a9ce6a71a53cff7d2190f9fa06eb838ab89
Signed-off-by: Alex Chan <alexc@tailscale.com>
| -rw-r--r-- | ipn/ipnlocal/network-lock.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipn/ipnlocal/network-lock.go b/ipn/ipnlocal/network-lock.go index a0a57f85c..3834f9927 100644 --- a/ipn/ipnlocal/network-lock.go +++ b/ipn/ipnlocal/network-lock.go @@ -96,7 +96,7 @@ func (b *LocalBackend) initTKALocked() error { authority: authority, storage: storage, } - b.logf("tka initialized at head %x", authority.Head()) + b.logf("tka initialized at head %s", authority.Head()) } return nil |
