mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-24 12:07:09 +09:00
Address review feedback from coderabbitai on pkg/version/version_test.go: the env-unset case only skipped t.Setenv, so a COZYSTACK_VERSION inherited from the test runner would make it skip the baked-fallback path it is meant to cover. Unset the variable (restoring it on cleanup) for that case. Assisted-By: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>