From af25f0254e94eb2e2898ba495bfc3de209a49e79 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 22 Aug 2019 13:38:37 -0600 Subject: caddyfile: Support global config block; allow non-empty blocks w/ 0 keys --- cmd/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/commands.go') diff --git a/cmd/commands.go b/cmd/commands.go index 99ec642..bb5429c 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -331,7 +331,7 @@ func cmdAdaptConfig() (int, error) { fmt.Errorf("reading input file: %v", err) } - opts := make(map[string]string) + opts := make(map[string]interface{}) if *adaptCmdPrettyFlag { opts["pretty"] = "true" } -- cgit v1.2.3