fixup! fixup! fixup! Enhance test coverage.

This commit is contained in:
2025-09-18 10:44:52 +01:00
parent 78d9f555a3
commit fbe9b71ada
6 changed files with 28 additions and 18 deletions
+3 -3
View File
@@ -1344,7 +1344,7 @@ func (t *TraefikOidc) verifyToken(token string) error {
// safeLog provides nil-safe logging helpers
func (t *TraefikOidc) safeLogDebug(msg string) {
if t.logger != nil {
t.logger.Debug(msg)
t.logger.Debug("%s", msg)
}
}
@@ -1356,7 +1356,7 @@ func (t *TraefikOidc) safeLogDebugf(format string, args ...interface{}) {
func (t *TraefikOidc) safeLogError(msg string) {
if t.logger != nil {
t.logger.Error(msg)
t.logger.Error("%s", msg)
}
}
@@ -1368,7 +1368,7 @@ func (t *TraefikOidc) safeLogErrorf(format string, args ...interface{}) {
func (t *TraefikOidc) safeLogInfo(msg string) {
if t.logger != nil {
t.logger.Info(msg)
t.logger.Info("%s", msg)
}
}