Browse Source

Merge pull request #7220 from vimalk78/fix-recipes-newSequentialKV-comment

contrib/recipes/key.go : fixed comment in method newSequentialKV
Xiang Li 9 years ago
parent
commit
e75f52b97a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/recipes/key.go

+ 1 - 1
contrib/recipes/key.go

@@ -73,7 +73,7 @@ func putNewKV(kv v3.KV, key, val string, leaseID v3.LeaseID) (int64, error) {
 }
 
 // newSequentialKV allocates a new sequential key <prefix>/nnnnn with a given
-// value and lease.  Note: a bookkeeping node __<prefix> is also allocated.
+// prefix and value. Note: a bookkeeping node __<prefix> is also allocated.
 func newSequentialKV(kv v3.KV, prefix, val string) (*RemoteKV, error) {
 	resp, err := kv.Get(context.TODO(), prefix, v3.WithLastKey()...)
 	if err != nil {