Merge pull request #5377 from purpleidea/bug/typos

clientv3: fix typos
release-3.0
Gyu-Ho Lee 2016-05-17 12:51:13 -07:00
commit 86c85b88ad
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,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.

View File

@ -39,7 +39,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.