diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-08-22 13:38:37 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-08-22 13:38:37 -0600 |
commit | af25f0254e94eb2e2898ba495bfc3de209a49e79 (patch) | |
tree | 79f20651d4fcdb27fe5c3299892576d38e82badb /caddyconfig/configadapters.go | |
parent | a0fd2b6c0abbd9c121ecf779058fd348327b5e0c (diff) |
caddyfile: Support global config block; allow non-empty blocks w/ 0 keys
Diffstat (limited to 'caddyconfig/configadapters.go')
-rw-r--r-- | caddyconfig/configadapters.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/configadapters.go b/caddyconfig/configadapters.go index 6e5d530..c539176 100644 --- a/caddyconfig/configadapters.go +++ b/caddyconfig/configadapters.go @@ -22,7 +22,7 @@ import ( // Adapter is a type which can adapt a configuration to Caddy JSON. // It returns the results and any warnings, or an error. type Adapter interface { - Adapt(body []byte, options map[string]string) ([]byte, []Warning, error) + Adapt(body []byte, options map[string]interface{}) ([]byte, []Warning, error) } // Warning represents a warning or notice related to conversion. |