Browse Source

clientv3: fix typos

James Shubin 9 years ago
parent
commit
42f3b4964f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      clientv3/kv.go
  2. 1 1
      clientv3/watch.go

+ 1 - 1
clientv3/kv.go

@@ -61,7 +61,7 @@ type KV interface {
 	// Do is useful when creating arbitrary operations to be issued at a
 	// later time; the user can range over the operations, calling Do to
 	// execute them. Get/Put/Delete, on the other hand, are best suited
-	// for when the	operation should be issued at the time of declaration.
+	// for when the operation should be issued at the time of declaration.
 	Do(ctx context.Context, op Op) (OpResponse, error)
 
 	// Txn creates a transaction.

+ 1 - 1
clientv3/watch.go

@@ -32,7 +32,7 @@ type Watcher interface {
 	// through the returned channel.
 	// If the watch is slow or the required rev is compacted, the watch request
 	// might be canceled from the server-side and the chan will be closed.
-	// 'opts' can be: 'WithRev' and/or 'WitchPrefix'.
+	// 'opts' can be: 'WithRev' and/or 'WithPrefix'.
 	Watch(ctx context.Context, key string, opts ...OpOption) WatchChan
 
 	// Close closes the watcher and cancels all watch requests.