Unverified Commit d1890aa4 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by GitHub

fix: linter warning (#25192)

parent 9a5c1000
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment