mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
44d2c3bd34
scripts/check_logging_guardrails.sh flags any lowercase secret-named identifier interpolated into a format string. The static-secret-file test added in #5245 interpolates two fixture bindings (file_secret, env_secret) into format! when constructing the secret file and env var, tripping the heuristic and breaking make pre-commit on every branch based on main. Rename the bindings to file_key_b64 / env_key_b64 so they no longer match the heuristic. The fixtures are dummy base64 key material written to a temp file and env var, not log output, and the test coverage is unchanged. The guard script itself is untouched.