channeldb: fix warnings found by go vet

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-07 16:52:04 -08:00
1 parent 906c0451c8
commit 7f98e8e5f1
4 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ func TestOpenWithCreate(t *testing.T) {
// this test.
tempDirName, err := ioutil.TempDir("", "channeldb")
if err != nil {
t.Fatalf("unable to create temp dir: %v")
t.Fatalf("unable to create temp dir: %v", err)
}
defer os.RemoveAll(tempDirName)