Permalink
Browse files

API update in populate example.

  • Loading branch information...
1 parent 6729649 commit b4fb7a44be35ca6ff54e52abe83cc3fb505ff792 @dustin dustin committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 populate/populate.go
View
@@ -101,7 +101,7 @@ func harass(c *couchbase.Client, b *couchbase.Bucket) {
k := time.Now().Format(myfmt)
- if err := b.Set(k, r); err != nil {
+ if err := b.Set(k, 0, r); err != nil {
log.Fatalf("Oops, failed a store of %s: %v", k, err)
}
}

0 comments on commit b4fb7a4

Please sign in to comment.