summaryrefslogtreecommitdiff
path: root/pkg/caddyscript
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-05-22 14:32:12 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-05-22 14:32:12 -0600
commitf976451d19aea6db42d08ff8cf6e760176f94acb (patch)
tree47830639e62cd3ee0c048e217af128f6877f8fcc /pkg/caddyscript
parent869fbac632bc098f8d40fd7b43790fadce84ed1a (diff)
Disallow unknown fields (strict unmarshal) when loading modules
This makes it faster and easier to detect broken configurations, but is a slight performance hit on config loads since we have to re-encode the decoded struct back into JSON without the module name's key
Diffstat (limited to 'pkg/caddyscript')
0 files changed, 0 insertions, 0 deletions