diff options
Diffstat (limited to 'modules/setting/log_test.go')
-rw-r--r-- | modules/setting/log_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/log_test.go b/modules/setting/log_test.go index c07651f548..87b14f0b1d 100644 --- a/modules/setting/log_test.go +++ b/modules/setting/log_test.go @@ -30,7 +30,7 @@ func initLoggersByConfig(t *testing.T, config string) (*log.LoggerManager, func( return manager, manager.Close } -func toJSON(v interface{}) string { +func toJSON(v any) string { b, _ := json.MarshalIndent(v, "", "\t") return string(b) } |