瀏覽代碼

clientv3: fix goword checking in config.go

Jingyi Hu 7 年之前
父節點
當前提交
7d57ee3427
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      clientv3/config.go

+ 1 - 1
clientv3/config.go

@@ -79,7 +79,7 @@ type Config struct {
 	// TODO: configure gRPC logger
 	// TODO: configure gRPC logger
 	LogConfig *zap.Config
 	LogConfig *zap.Config
 
 
-	// PermitWithoutStream, if set true, client can send keepalive pings to server without any active streams(RPCs).
+	// PermitWithoutStream when set will allow client to send keepalive pings to server without any active streams(RPCs).
 	PermitWithoutStream bool `json:"permit-without-stream"`
 	PermitWithoutStream bool `json:"permit-without-stream"`
 }
 }