mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
A body without a request field dereferenced a nil pointer. net/http recovers the panic, so the caller saw a dropped connection instead of a 400, and every such call logged a stack trace. The namespace lookup becomes a package variable so the tests can stand in for the cluster. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>