MSP-3428 fix linter
This commit is contained in:
1 parent
8b8bc04fbf
commit
7108122102
4 files changed
+16
-13
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
schema.CustomGenerators.Register("logLevel", func(field reflect.StructField, t *jsonschema.Type) {
|
||||
schema.CustomGenerators.Register("logLevel", func(field reflect.StructField, t *jsonschema.Schema) {
|
||||
t.Type = "string"
|
||||
t.Enum = []interface{}{"debug", "info", "error", "fatal"}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user