From f01a33491b955b189143522c0eb52f160d264ca1 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Fri, 12 Aug 2022 09:03:11 +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 ec89e895..dce1ad86 100644 --- a/api.go +++ b/api.go @@ -254,9 +254,9 @@ func (h *Headscale) RegistrationHandler( log.Info(). 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("New machine not yet in the database") givenName, err := h.GenerateGivenName(registerRequest.Hostinfo.Hostname)