up lint
This commit is contained in:
1 parent
b692728cc3
commit
59875487ae
7 files changed
+13
-7
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ import (
|
||||
func init() {
|
||||
schema.CustomGenerators.Register("logLevel", func(field reflect.StructField, t *jsonschema.Schema) {
|
||||
t.Type = "string"
|
||||
t.Enum = []interface{}{"debug", "info", "warn", "error", "fatal"}
|
||||
t.Enum = []any{"debug", "info", "warn", "error", "fatal"}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user