Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
slim-bean committed Nov 25, 2020
1 parent 080a557 commit fabf14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/stores/shipper/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type result struct {
}

// SafeOpenBoltdbFile will recover from a panic opening a DB file, and return the panic message in the err return object.
func SafeOpenBoltdbFile(path string) (boltdb *bbolt.DB, err error) {
func SafeOpenBoltdbFile(path string) (*bbolt.DB, error) {
result := make(chan *result)
// Open the file in a separate goroutine because we want to change
// the behavior of a Fault for just this operation and not for the
Expand Down

0 comments on commit fabf14c

Please sign in to comment.