Skip to content

Commit 02abf80

Browse files
committed
chore: fix function name mismatch in comment for StartEtcdTestBackend
Signed-off-by: xiaolinny <xiaolincode@outlook.com>
1 parent 63b1c69 commit 02abf80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kvdb/kvdb_etcd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
// defined, allowing testing our database code with etcd backend.
1212
const EtcdBackend = true
1313

14-
// GetEtcdTestBackend creates an embedded etcd backend for testing
15-
// storig the database at the passed path.
14+
// StartEtcdTestBackend creates an embedded etcd backend for testing
15+
// storing the database at the passed path.
1616
func StartEtcdTestBackend(path string, clientPort, peerPort uint16,
1717
logFile string) (*etcd.Config, func(), error) {
1818

0 commit comments

Comments
 (0)