From a261e271131c469e4db9ad0a2b0565da47150e88 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Fri, 12 Aug 2022 09:03:32 +0200 Subject: [PATCH] Update api.go Co-authored-by: Kristoffer Dalby --- api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.go b/api.go index dce1ad8..a5c2348 100644 --- a/api.go +++ b/api.go @@ -234,9 +234,9 @@ func (h *Headscale) RegistrationHandler( log.Debug(). Caller(). Str("machine", registerRequest.Hostinfo.Hostname). - Str("NodeKey", registerRequest.NodeKey.ShortString()). - Str("OldNodeKey", registerRequest.OldNodeKey.ShortString()). - Str("Followup", registerRequest.Followup). + Str("node_key", registerRequest.NodeKey.ShortString()). + Str("node_key_old", registerRequest.OldNodeKey.ShortString()). + Str("follow_up", registerRequest.Followup). Msg("Machine is waiting for interactive login") ticker := time.NewTicker(registrationHoldoff)