1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

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 // If no mappings match or if the mapped output is null/nil, the associated
// default output will be applied (optional). // default output will be applied (optional).
Defaults []string Defaults []string `json:"defaults,omitempty"`
} }
// CaddyModule returns the Caddy module information. // CaddyModule returns the Caddy module information.