tsnet/examples/tshello: update example for LocalClient method (#5966)
Before this would silently fail if this program was running on a machine that was not already running Tailscale. This patch changes the WhoIs call to use the tsnet.Server LocalClient instead of the global tailscale LocalClient. Signed-off-by: Xe <xe@tailscale.com> Signed-off-by: Xe <xe@tailscale.com>main
parent
9116e92718
commit
86c5bddce2
Loading…
Reference in new issue