Apply gometalinter suggestions
This commit is contained in:
parent
9533aa45cc
commit
9bf553559c
8 changed files with 19 additions and 32 deletions
|
|
@ -20,12 +20,6 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
type fakeError struct{}
|
||||
|
||||
func (fe *fakeError) Error() string {
|
||||
return "fakeError"
|
||||
}
|
||||
|
||||
func TestSysctlFSFileMax(t *testing.T) {
|
||||
i := sysctlFSFileMax()
|
||||
if i < 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue