mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-18 23:44:07 +01:00
This commit makes isOutdated validate a nodes necessity to update against all namespaces, and not just the nodes own namespace (which made more sense before). getLastStateChange is now uses the passed namespaces as a filter, meaning that not requesting any namespace will give you the total last updated state. In addition, the sync.Map is exchanged for a variant that uses generics which allows us to remove some casting logic.
7.1 KiB
7.1 KiB