Browse Source

clientv3: Fix comment for DialKeepAliveTime and DialKeepAliveTimeout

Rene Zbinden 8 years ago
parent
commit
e18afc462b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      clientv3/config.go

+ 2 - 2
clientv3/config.go

@@ -33,11 +33,11 @@ type Config struct {
 	// DialTimeout is the timeout for failing to establish a connection.
 	// DialTimeout is the timeout for failing to establish a connection.
 	DialTimeout time.Duration `json:"dial-timeout"`
 	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.
 	// transport is alive.
 	DialKeepAliveTime time.Duration `json:"dial-keep-alive-time"`
 	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.
 	// keep-alive probe.  If the response is not received in this time, the connection is closed.
 	DialKeepAliveTimeout time.Duration `json:"dial-keep-alive-timeout"`
 	DialKeepAliveTimeout time.Duration `json:"dial-keep-alive-timeout"`