Browse Source

clientv3: Fix typos

Found randomly when going through docs. HTH
James Shubin 9 years ago
parent
commit
edca3cbe44
2 changed files with 4 additions and 4 deletions
  1. 2 2
      clientv3/client.go
  2. 2 2
      clientv3/config.go

+ 2 - 2
clientv3/client.go

@@ -66,9 +66,9 @@ type Client struct {
 	newconnc    chan struct{}
 	lastConnErr error
 
-	// Username is a username of authentication
+	// Username is a username for authentication
 	Username string
-	// Password is a password of authentication
+	// Password is a password for authentication
 	Password string
 }
 

+ 2 - 2
clientv3/config.go

@@ -44,10 +44,10 @@ type Config struct {
 	// Logger is the logger used by client library.
 	Logger Logger
 
-	// Username is a username of authentication
+	// Username is a username for authentication
 	Username string
 
-	// Password is a password of authentication
+	// Password is a password for authentication
 	Password string
 }