Refresh machines with correct new expiry
This commit is contained in:
parent
8ca0fb7ed0
commit
dd173ecc1f
2 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue