From fac2f8c50099e86b7f12909c7e3287ed61b55fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D1=80=D1=83=D1=81=D0=BE=D0=B2=20=D0=9F=D0=B0?= =?UTF-8?q?=D0=B2=D0=B5=D0=BB=20=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B5=D0=B2?= =?UTF-8?q?=D0=B8=D1=87?= Date: Thu, 16 Jan 2025 17:55:51 +0300 Subject: [PATCH] MSP-4622 schema tags fix --- conf/remote.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/remote.go b/conf/remote.go index 437cbdf..d6f6430 100644 --- a/conf/remote.go +++ b/conf/remote.go @@ -18,8 +18,8 @@ func init() { type Remote struct { LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"` - Scripts []ScriptDefinition `schemaGen:"scripts" schema:"Скрипты"` - CustomScripts []ScriptDefinition `schemaGen:"customScripts" schema:"Кастомные скрипты"` + Scripts []ScriptDefinition `schema:"Скрипты"` + CustomScripts []ScriptDefinition `schema:"Кастомные скрипты"` SharedScript string `schema:"Общий скрипт"` ScriptExecutionTimeoutMs int `validate:"required" schema:"Время выполнения скрипта"` }