Browse Source

Merge pull request #4324 from jonboulle/master

client: fix typo in docstring (than -> then)
Jonathan Boulle 10 years ago
parent
commit
c5b9433496
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/keys.go

+ 1 - 1
client/keys.go

@@ -106,7 +106,7 @@ type KeysAPI interface {
 
 
 	// Set assigns a new value to a Node identified by a given key. The caller
 	// Set assigns a new value to a Node identified by a given key. The caller
 	// may define a set of conditions in the SetOptions. If SetOptions.Dir=true
 	// may define a set of conditions in the SetOptions. If SetOptions.Dir=true
-	// than value is ignored.
+	// then value is ignored.
 	Set(ctx context.Context, key, value string, opts *SetOptions) (*Response, error)
 	Set(ctx context.Context, key, value string, opts *SetOptions) (*Response, error)
 
 
 	// Delete removes a Node identified by the given key, optionally destroying
 	// Delete removes a Node identified by the given key, optionally destroying