From fabf14c8c1dcaaf67c24de7e7c6f24b9d9bdd151 Mon Sep 17 00:00:00 2001 From: Edward Welch Date: Wed, 25 Nov 2020 07:28:06 -0500 Subject: [PATCH] fix lint --- pkg/storage/stores/shipper/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/stores/shipper/util/util.go b/pkg/storage/stores/shipper/util/util.go index 4c9b8a8e5057..2095dc8c25a0 100644 --- a/pkg/storage/stores/shipper/util/util.go +++ b/pkg/storage/stores/shipper/util/util.go @@ -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