aboutsummaryrefslogtreecommitdiff
path: root/pkg/policy/wildcard.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-05-16 07:47:04 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-05-16 07:47:04 +0200
commitbea0a1bce37a73acb323269edeaa5b7d11a2b42d (patch)
treef809f0d0129478e0c1dbe526c7ca6855c6665432 /pkg/policy/wildcard.go
parent6f90052197d3906cb5406b9c65a3a8cdc7fe200b (diff)
Fix nits spotted by go vet
Diffstat (limited to 'pkg/policy/wildcard.go')
-rw-r--r--pkg/policy/wildcard.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/policy/wildcard.go b/pkg/policy/wildcard.go
index 58b0d17..abea841 100644
--- a/pkg/policy/wildcard.go
+++ b/pkg/policy/wildcard.go
@@ -39,7 +39,7 @@ func (w *Wildcards) match(sans []string, notAfter time.Time) bool {
type Wildcard struct {
BootstrapAt time.Time `json:"bootstrap_at"`
Wildcard string `json:"wildcard"`
- Excludes []string `json:"excludes",omitempty"`
+ Excludes []string `json:"excludes,omitempty"`
}
func (w *Wildcard) UnmarshalJSON(data []byte) error {