mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-13 18:09:58 +08:00
caddyfile: Support global config block; allow non-empty blocks w/ 0 keys
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user