Skip to content

Commit

Permalink
Merge pull request #98 from raulk/txn-err
Browse files Browse the repository at this point in the history
Allow ds.NewTransaction() to return an error
  • Loading branch information
raulk authored Sep 27, 2018
2 parents a350e75 + 86d1598 commit 19b8f34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gx/lastpubver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0: QmUyz7JTJzgegC6tiJrfby3mPhzcdswVtG4x58TQ6pq8jV
3.3.0: QmbQshXLNcCPRUGZv4sBGxnZNAHREA6MKeomkwihNXPZWP
2 changes: 1 addition & 1 deletion datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ type Txn interface {
type TxnDatastore interface {
Datastore

NewTransaction(readOnly bool) Txn
NewTransaction(readOnly bool) (Txn, error)
}

// Errors
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"license": "MIT",
"name": "go-datastore",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "3.2.0"
"version": "3.3.0"
}

0 comments on commit 19b8f34

Please sign in to comment.