ipn: remove unused NLKeyStateKey constant

We stopped writing network lock keys as separate items with #6315,
the constant is no longer used.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
pull/7219/head
Mihai Parparita 2 years ago committed by Mihai Parparita
parent f0f2b2e22b
commit 31e2e9a300

@ -43,10 +43,6 @@ const (
// StateKey "user-1234". // StateKey "user-1234".
ServerModeStartKey = StateKey("server-mode-start-key") ServerModeStartKey = StateKey("server-mode-start-key")
// NLKeyStateKey is the key under which we store the node's
// network-lock node key, in its key.NLPrivate.MarshalText representation.
NLKeyStateKey = StateKey("_nl-node-key")
// KnownProfilesStateKey is the key under which we store the list of // KnownProfilesStateKey is the key under which we store the list of
// known profiles. The value is a JSON-encoded []LoginProfile. // known profiles. The value is a JSON-encoded []LoginProfile.
KnownProfilesStateKey = StateKey("_profiles") KnownProfilesStateKey = StateKey("_profiles")

Loading…
Cancel
Save