Skip to content

Commit

Permalink
fix: linter warning (#25192)
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet authored Jun 29, 2022
1 parent 9a5c100 commit d1890aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/fdlimit/fdlimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package fdlimit

import (
"fmt"
"testing"
)

Expand All @@ -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 {
Expand Down

0 comments on commit d1890aa

Please sign in to comment.