Remove LastSuccessfulUpdate from Machine

This field is no longer used, it was used in our old state
"algorithm" to determine if we should send an update.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-09-11 06:23:29 -05:00 committed by Kristoffer Dalby
parent 591ff8d347
commit 3bef63bb80
3 changed files with 5 additions and 16 deletions

View file

@ -532,9 +532,8 @@ func (api headscaleV1APIServer) DebugCreateMachine(
GivenName: givenName,
User: *user,
Expiry: &time.Time{},
LastSeen: &time.Time{},
LastSuccessfulUpdate: &time.Time{},
Expiry: &time.Time{},
LastSeen: &time.Time{},
HostInfo: types.HostInfo(hostinfo),
}