This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git
The following commit(s) were added to refs/heads/unstable by this push:
new bdfe415 fix typo: dail -> dial (#224)
bdfe415 is described below
commit bdfe415a9e7809628e472f07a95117d6d6b73156
Author: fukua95 <[email protected]>
AuthorDate: Sun Dec 8 00:29:39 2024 +0800
fix typo: dail -> dial (#224)
---
store/engine/etcd/etcd.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/store/engine/etcd/etcd.go b/store/engine/etcd/etcd.go
index 372ccf8..1e6d46d 100644
--- a/store/engine/etcd/etcd.go
+++ b/store/engine/etcd/etcd.go
@@ -40,7 +40,7 @@ import (
const (
sessionTTL = 6
- defaultDailTimeout = 5 * time.Second
+ defaultDialTimeout = 5 * time.Second
)
const defaultElectPath = "/kvrocks/controller/leader"
@@ -81,7 +81,7 @@ func New(id string, cfg *Config) (*Etcd, error) {
clientConfig := clientv3.Config{
Endpoints: cfg.Addrs,
- DialTimeout: defaultDailTimeout,
+ DialTimeout: defaultDialTimeout,
Logger: logger.Get(),
}