Fix spelling error (#3085)

This commit is contained in:
Success Go 2020-02-27 13:22:40 +08:00 committed by GitHub
parent 6fb98ba188
commit a2a41a5bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.