From 72e7edda1f79f36dad1f0aa60a3603e3f4f44412 Mon Sep 17 00:00:00 2001 From: Scott Mebberson <74628+smebberson@users.noreply.github.com> Date: Wed, 19 Oct 2022 10:44:53 +1030 Subject: map: Clarified how destination values should be formatted (#5156) --- modules/caddyhttp/map/map.go | 1 + 1 file changed, 1 insertion(+) 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). -- cgit v1.2.3