summaryrefslogtreecommitdiffstats
path: root/modules/setting/log_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/log_test.go')
-rw-r--r--modules/setting/log_test.go2
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)
}