Browse Source

map: Add missing json struct tag

master
Matthew Holt 4 years ago
parent
commit
58e83a811b
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      modules/caddyhttp/map/map.go

2
modules/caddyhttp/map/map.go

@ -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.

Loading…
Cancel
Save