mirror of
https://github.com/hhftechnology/middleware-manager.git
synced 2026-07-10 08:28:23 +00:00
Replace direct defers that ignored returned errors with explicit defer func() { _ = ... }() and use blank-assignment for Setenv/RemoveAll/Close to satisfy error-checking and ensure closures run. Convert several if-else chains to switch for clarity (status filter, test server path matching), switch strings.Replace to strings.ReplaceAll, and normalize some error/log message casing. These changes are minor refactors across handlers, services, database and tests to improve lint compliance and readability.
|
||
|---|---|---|
| .. | ||
| config_test.go | ||
| defaults.go | ||
| service_default.go | ||
| templates.yaml | ||
| templates_services.yaml | ||