mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
Revert "tailcfg: remove reference to types/key.Public."
Breaks corp unit tests. Updates #3206 This reverts commit 94f6257fde6bab821eb03725053ff3892811650f.
This commit is contained in:
parent
94f6257fde
commit
ef14663934
@ -1148,7 +1148,7 @@ func keyUnmarshalText(dst []byte, prefix string, text []byte) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (k NodeKey) ShortString() string { return key.NodePublicFromRaw32(mem.B(k[:])).ShortString() }
|
func (k NodeKey) ShortString() string { return (key.Public(k)).ShortString() }
|
||||||
|
|
||||||
func (k NodeKey) String() string { return fmt.Sprintf("nodekey:%x", k[:]) }
|
func (k NodeKey) String() string { return fmt.Sprintf("nodekey:%x", k[:]) }
|
||||||
func (k NodeKey) MarshalText() ([]byte, error) { return keyMarshalText("nodekey:", k), nil }
|
func (k NodeKey) MarshalText() ([]byte, error) { return keyMarshalText("nodekey:", k), nil }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user