MSP-3428 fix linter

This commit is contained in:
Demidyuk Oleg committed 2024-06-11 13:25:01 +03:00
1 parent 8b8bc04fbf
commit 7108122102
4 files changed
+16 -13

No files matched your search

+1 -1
View File
@@ -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"}
})