mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-17 22:39:53 +02:00
Refresh machines with correct new expiry
This commit is contained in:
@@ -873,6 +873,7 @@ func (h *Headscale) RegisterMachineFromAuthCallback(
|
||||
Str("nodeKey", nodeKey.ShortString()).
|
||||
Str("namespaceName", namespaceName).
|
||||
Str("registrationMethod", registrationMethod).
|
||||
Str("expiresAt", fmt.Sprintf("%v", machineExpiry)).
|
||||
Msg("Registering machine from API/CLI or auth callback")
|
||||
|
||||
if machineInterface, ok := h.registrationCache.Get(NodePublicKeyStripPrefix(nodeKey)); ok {
|
||||
|
||||
Reference in New Issue
Block a user