Fix golint
recent additions to golint mean that a number of files cause the build to start failing if they are edited (we only run against changed files) This fixes all the errors in the repo so things don't unexpectedly start failing for people making PRs
This commit is contained in:
parent
f6576cce27
commit
ac20ddfc6c
6 changed files with 11 additions and 10 deletions
|
@ -68,7 +68,7 @@ func (t *localTransaction) Commit(object cluster.Object) error {
|
|||
t.LocalStore.account = object.(*Account)
|
||||
defer t.storageLock.Unlock()
|
||||
if t.dirty {
|
||||
return fmt.Errorf("Transaction already used. Please begin a new one.")
|
||||
return fmt.Errorf("transaction already used, please begin a new one")
|
||||
}
|
||||
|
||||
// write account to file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue