Skip to content

Commit

Permalink
Fix errcheck: error return value of d.Remove is not checked
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Rodák <[email protected]>
  • Loading branch information
Honny1 committed Jul 8, 2024
1 parent 928e337 commit 6810e39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/aufs/aufs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,9 @@ func BenchmarkConcurrentAccess(b *testing.B) {
}()
}
innerGroup.Wait()
d.Remove(id)
if err := d.Remove(id); err != nil {
b.Log(err)
}
}(id)
}

Expand Down

0 comments on commit 6810e39

Please sign in to comment.