map: Add missing json struct tag

This commit is contained in:
Matthew Holt 2021-01-16 09:56:06 -07:00
parent f0c0f38ba5
commit 58e83a811b
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -48,7 +48,7 @@ type Handler struct {
// If no mappings match or if the mapped output is null/nil, the associated
// default output will be applied (optional).
Defaults []string
Defaults []string `json:"defaults,omitempty"`
}
// CaddyModule returns the Caddy module information.