Update api.go

Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
Juan Font 2022-08-12 09:03:32 +02:00 committed by GitHub
parent f01a33491b
commit a261e27113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

6
api.go
View File

@ -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)