Browse Source

client: fix typo in docstring (than -> then)

Jonathan Boulle 10 years ago
parent
commit
5490db7cca
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
 	// 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)
 
 	// Delete removes a Node identified by the given key, optionally destroying