Files
headscale/cmd
Kristoffer Dalby 7526401656 cmd/headscale: fix JSON output of value-typed API objects
Generated API types have a pointer-receiver MarshalJSON that omits unset
optional fields. The CLI marshalled them by value, so stdlib reflection
called Opt*.MarshalJSON directly and failed with "unexpected end of JSON
input", breaking every -o json/-o yaml command. Make values addressable
first so the generated marshaler runs.
2026-06-19 05:58:10 +00:00
..