You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server: Fix TestLogRotation error message in Go 1.24
The embedded structure is now also part of the log message. The failure
from the tests is the following:
--- FAIL: TestLogRotation (0.00s)
--- FAIL: TestLogRotation/invalid_logger_config (0.00s)
config_test.go:868: test "invalid logger config", expected
error: invalid log rotation config: json: cannot unmarshal
bool into Go struct field logRotationConfig.maxsize
of type int,
got: invalid log rotation config: json: cannot unmarshal
bool into Go struct field logRotationConfig.Logger.maxsize
of type int
FAIL
Signed-off-by: Ivan Valdes <[email protected]>
0 commit comments