Skip to content

Commit

Permalink
fixed linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
na4ma4 committed Apr 22, 2024
1 parent 1775dca commit a0006dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions traefik/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a0006dc

Please sign in to comment.