diff --git a/Makefile b/Makefile index a844b7b..9f1f003 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ fmt: tb.golines tb.gofumpt $(TB_GOLINES) --base-formatter="$(TB_GOFUMPT)" --max-len=120 --write-output . # Run tests -test: generate lint test-ci +test: generate fmt lint test-ci # Run ci tests test-ci: mocks tidy tb.ginkgo diff --git a/pkg/types/types.go b/pkg/types/types.go index 9ec1a92..6b706fb 100644 --- a/pkg/types/types.go +++ b/pkg/types/types.go @@ -20,7 +20,7 @@ const ( type Config struct { Origin AdGuardInstance `json:"origin" yaml:"origin" env:"ORIGIN"` Replica *AdGuardInstance `json:"replica,omitempty" yaml:"replica,omitempty" env:"REPLICA"` - Replicas []AdGuardInstance `json:"replicas,omitempty" yaml:"replicas,omitempty" faker:"slice_len=2"` + Replicas []AdGuardInstance `json:"replicas,omitempty" yaml:"replicas,omitempty" faker:"slice_len=2"` Cron string `json:"cron,omitempty" yaml:"cron,omitempty" env:"CRON"` RunOnStart bool `json:"runOnStart,omitempty" yaml:"runOnStart,omitempty" env:"RUN_ON_START"` PrintConfigOnly bool `json:"printConfigOnly,omitempty" yaml:"printConfigOnly,omitempty" env:"PRINT_CONFIG_ONLY"`