diff options
author | Success Go <[email protected]> | 2020-02-28 10:30:48 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-27 19:30:48 -0700 |
commit | ca5c6798806546180994ab7c08e60a5ffeb69394 (patch) | |
tree | 8ba21a48ed0566f0a0c9bfa4324067b2cab5cda3 /context.go | |
parent | e2d41ee7619bf88d9cd01ac92911fda8625bd02d (diff) | |
download | caddy-ca5c6798806546180994ab7c08e60a5ffeb69394.tar.gz caddy-ca5c6798806546180994ab7c08e60a5ffeb69394.zip |
Fix typos (#3087)
* Fix typo
* Fix typo, thanks for Spell Checker under VS Code
Diffstat (limited to 'context.go')
-rw-r--r-- | context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/context.go b/context.go index d64880c14..68d31dabd 100644 --- a/context.go +++ b/context.go @@ -211,7 +211,7 @@ func (ctx Context) LoadModule(structPointer interface{}, fieldName string) (inte } // loadModulesFromSomeMap loads modules from val, which must be a type of map[string]interface{}. -// Depending on inlineModuleKey, it will be interpeted as either a ModuleMap (key is the module +// Depending on inlineModuleKey, it will be interpreted as either a ModuleMap (key is the module // name) or as a regular map (key is not the module name, and module name is defined inline). func (ctx Context) loadModulesFromSomeMap(namespace, inlineModuleKey string, val reflect.Value) (map[string]interface{}, error) { // if no inline_key is specified, then val must be a ModuleMap, |