summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSuccess Go <[email protected]>2020-02-27 13:22:40 +0800
committerGitHub <[email protected]>2020-02-27 00:22:40 -0500
commita2a41a5bdf61b6822761be98904cf7f1cb96a96a (patch)
tree8798590d89a26142f2d4be4729111337f7579077
parent6fb98ba1880d5f3f6ede4f407b0c9f80f7c7daa6 (diff)
downloadcaddy-a2a41a5bdf61b6822761be98904cf7f1cb96a96a.tar.gz
caddy-a2a41a5bdf61b6822761be98904cf7f1cb96a96a.zip
Fix spelling error (#3085)
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index dc4ea9e75..d4c35a9dd 100644
--- a/caddy.go
+++ b/caddy.go
@@ -190,7 +190,7 @@ func readConfig(path string, out io.Writer) error {
return unsyncedConfigAccess(http.MethodGet, path, nil, out)
}
-// indexConfigObjects recurisvely searches ptr for object fields named
+// indexConfigObjects recursively searches ptr for object fields named
// "@id" and maps that ID value to the full configPath in the index.
// This function is NOT safe for concurrent access; obtain a write lock
// on currentCfgMu.