From efaca29ee4c9c611b5ff11abec8a950408a0bf7f Mon Sep 17 00:00:00 2001 From: jaime Date: Thu, 9 Dec 2021 09:23:08 +0800 Subject: [PATCH] [skip ci] fix a grammar error of the comment in etcd_kv (#13019) Signed-off-by: yun.zhang Co-authored-by: yun.zhang --- internal/kv/etcd/etcd_kv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/kv/etcd/etcd_kv.go b/internal/kv/etcd/etcd_kv.go index 29be291484..d07bb0af9a 100644 --- a/internal/kv/etcd/etcd_kv.go +++ b/internal/kv/etcd/etcd_kv.go @@ -75,7 +75,7 @@ func (kv *EtcdKV) GetPath(key string) string { return path.Join(kv.rootPath, key) } -// LoadWithPrefix returns all the the keys and values with the given key prefix. +// LoadWithPrefix returns all the keys and values with the given key prefix. func (kv *EtcdKV) LoadWithPrefix(key string) ([]string, []string, error) { start := time.Now() key = path.Join(kv.rootPath, key)