fix: linter warning (#25192)

pull/25201/head
Guillaume Ballet 2 years ago committed by GitHub
parent 9a5c1000c7
commit d1890aa402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      common/fdlimit/fdlimit_test.go

@ -17,7 +17,6 @@
package fdlimit
import (
"fmt"
"testing"
)
@ -30,7 +29,7 @@ func TestFileDescriptorLimits(t *testing.T) {
t.Fatal(err)
}
if hardlimit < target {
t.Skip(fmt.Sprintf("system limit is less than desired test target: %d < %d", hardlimit, target))
t.Skipf("system limit is less than desired test target: %d < %d", hardlimit, target)
}
if limit, err := Current(); err != nil || limit <= 0 {

Loading…
Cancel
Save