mirror of
https://github.com/juanfont/headscale.git
synced 2026-02-23 13:50:36 +01:00
Wire up the disable_expiry proto field through gRPC, state, database and CLI layers to allow clearing a node expiry. - Update NodeSetExpiry to accept *time.Time (nil disables expiry) - Fix SetNodeExpiry to persist via db.NodeSetExpiry directly instead of persistNodeToDB which omits the expiry field - Add mutual exclusion validation for expiry vs disable_expiry in gRPC - Add --disable flag to headscale nodes expire CLI command - Fix missing return after ErrorOutput in both expire and disable paths - Add unit test TestDisableNodeExpiry in db/node_test.go - Add integration test TestDisableNodeExpiry in general_test.go Fixes #2681 Co-authored-by: Marco Santos <me@marcopsantos.com> |
||
|---|---|---|
| .. | ||
| api_key.go | ||
| configtest.go | ||
| debug.go | ||
| dump_config.go | ||
| generate.go | ||
| health.go | ||
| mockoidc.go | ||
| nodes.go | ||
| policy.go | ||
| preauthkeys.go | ||
| pterm_style.go | ||
| root_test.go | ||
| root.go | ||
| serve.go | ||
| users.go | ||
| utils.go | ||
| version.go | ||