From e18afc462b61ccefaf680052ecea2761a1adbe7a Mon Sep 17 00:00:00 2001 From: Rene Zbinden Date: Mon, 4 Dec 2017 14:22:34 +0100 Subject: [PATCH] clientv3: Fix comment for DialKeepAliveTime and DialKeepAliveTimeout --- clientv3/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientv3/config.go b/clientv3/config.go index 87d61cf57..c9e07866d 100644 --- a/clientv3/config.go +++ b/clientv3/config.go @@ -33,11 +33,11 @@ type Config struct { // DialTimeout is the timeout for failing to establish a connection. DialTimeout time.Duration `json:"dial-timeout"` - // DialKeepAliveTime is the time in seconds after which client pings the server to see if + // DialKeepAliveTime is the time after which client pings the server to see if // transport is alive. DialKeepAliveTime time.Duration `json:"dial-keep-alive-time"` - // DialKeepAliveTimeout is the time in seconds that the client waits for a response for the + // DialKeepAliveTimeout is the time that the client waits for a response for the // keep-alive probe. If the response is not received in this time, the connection is closed. DialKeepAliveTimeout time.Duration `json:"dial-keep-alive-timeout"`