Kristoffer Dalby
91730e2a1d
hscontrol: use EmbedObject for node logging
Replace manual Uint64("node.id")/Str("node.name") field patterns with
EmbedObject(node) which automatically includes all standard node fields
(id, name, machine key, node key, online status, tags, user).
This reduces code repetition and ensures consistent logging across:
- state.go: Connect/Disconnect, persistNodeToDB, AutoApproveRoutes
- auth.go: handleLogout, handleRegisterWithAuthKey
2026-02-06 07:40:29 +01:00
..
2025-12-22 14:01:40 +01:00
2026-01-21 15:10:29 +01:00
2026-01-20 17:13:38 +01:00
2025-11-12 16:36:36 +01:00
2026-01-21 15:10:29 +01:00
2026-02-06 07:40:29 +01:00
2025-12-10 16:45:59 +00:00
2025-12-02 12:01:25 +01:00
2026-02-06 07:40:29 +01:00
2026-01-20 15:41:33 +01:00
2025-12-02 12:01:25 +01:00
2026-01-21 15:10:29 +01:00
2026-01-20 12:53:20 +01:00
2026-01-20 12:53:20 +01:00
2025-12-02 12:01:25 +01:00
2026-01-21 15:10:29 +01:00
2025-12-01 19:40:25 +01:00
2025-11-11 12:47:48 -06:00
2025-12-02 12:01:25 +01:00
2026-01-20 12:53:20 +01:00