Skip to content

Commit 72e7edd

Browse files
authored
map: Clarified how destination values should be formatted (caddyserver#5156)
1 parent a999b70 commit 72e7edd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/caddyhttp/map/map.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type Handler struct {
4040
Source string `json:"source,omitempty"`
4141

4242
// Destinations are the names of placeholders in which to store the outputs.
43+
// Destination values should be wrapped in braces, for example, {my_placeholder}.
4344
Destinations []string `json:"destinations,omitempty"`
4445

4546
// Mappings from source values (inputs) to destination values (outputs).

0 commit comments

Comments
 (0)