mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix typo
This commit is contained in:
@@ -13,7 +13,7 @@ var keywords = map[string]bool{
|
||||
"/machines": true,
|
||||
}
|
||||
|
||||
// CheckKeyWord will check if the key contains the keyword.
|
||||
// CheckKeyword will check if the key contains the keyword.
|
||||
// For now, we only check for prefix.
|
||||
func CheckKeyword(key string) bool {
|
||||
key = path.Clean("/" + key)
|
||||
|
||||
Reference in New Issue
Block a user