Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
semihalev committed Aug 4, 2015
1 parent 3c79066 commit 7d352be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func main() {
}
defer db.Close()

db.Batch(func(tx *bolt.Tx) error {
db.Update(func(tx *bolt.Tx) error {
tx.CreateBucketIfNotExists([]byte(TTL_SERIES))
return nil
})
Expand Down

0 comments on commit 7d352be

Please sign in to comment.