Browse Source

contrib/recipes/key.go : fixed method comment

Vimal Kumar 9 years ago
parent
commit
6443c25422
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 {