mirror of https://github.com/tailscale/tailscale/
control/controlclient: use wgcfg.PrivateKey.IsZero
Generated by eg using template:
---
package p
import "github.com/tailscale/wireguard-go/wgcfg"
func before(k wgcfg.PrivateKey) bool { return k == wgcfg.PrivateKey{} }
func after(k wgcfg.PrivateKey) bool { return k.IsZero() }
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
pull/797/head
parent
2b8d2babfa
commit
1fecf87363
Loading…
Reference in New Issue