diff --git a/.golangci.yml b/.golangci.yml index 0f5329f..08c45c7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -124,7 +124,11 @@ linters-settings: - os.WriteFile - prometheus.ExponentialBuckets.* - prometheus.LinearBuckets + - tabwriter.NewWriter - cobra.MinimumNArgs + - cobra.MaximumNArgs + - cobra.ExactArgs + - cobra.RangeArgs gomoddirectives: replace-allow-list: diff --git a/traefik/domain.go b/traefik/domain.go index 6c0eb65..3c45b9a 100644 --- a/traefik/domain.go +++ b/traefik/domain.go @@ -4,8 +4,8 @@ import "strings" // Domain holds a domain name with SANs. type Domain struct { - Main string - SANs []string + Main string `json:"Main"` + SANs []string `json:"SANs"` } // ToStrArray convert a domain into an array of strings.