diff options
author | Scott Mebberson <74628+smebberson@users.noreply.github.com> | 2022-10-19 10:44:53 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 18:14:53 -0600 |
commit | 72e7edda1f79f36dad1f0aa60a3603e3f4f44412 (patch) | |
tree | b11634f734afe1b938f92944ebc81fde4179d1bf | |
parent | a999b707276dbcc9a5424c90c084923e303e5d89 (diff) |
map: Clarified how destination values should be formatted (#5156)
-rw-r--r-- | modules/caddyhttp/map/map.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/map/map.go b/modules/caddyhttp/map/map.go index fbd1e40..336f257 100644 --- a/modules/caddyhttp/map/map.go +++ b/modules/caddyhttp/map/map.go @@ -40,6 +40,7 @@ type Handler struct { Source string `json:"source,omitempty"` // Destinations are the names of placeholders in which to store the outputs. + // Destination values should be wrapped in braces, for example, {my_placeholder}. Destinations []string `json:"destinations,omitempty"` // Mappings from source values (inputs) to destination values (outputs). |