Skip to content

Commit

Permalink
[storage] - Fixes error strings should not be capitalized (ST1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
araujobsd authored and hxw committed Jun 18, 2019
1 parent 4de4c65 commit 95d8764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

const (
ErrHandleNil = "Error handle is nil"
ErrHandleNil = "handle is nil"
)

// Transaction RDBS transaction
Expand Down Expand Up @@ -53,7 +53,7 @@ func (t *TransactionImpl) InUse() bool {

func (t *TransactionImpl) Begin() error {
if t.InUse() {
return fmt.Errorf("Error, transaction already in use")
return fmt.Errorf("transaction already in use")
}

for _, access := range t.dataAccess {
Expand Down

0 comments on commit 95d8764

Please sign in to comment.