mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #86775 from Aresforchina/fix-staticcheck-test03
fix staticcheck of pkg/util/ebtables
This commit is contained in:
commit
1f50be5d04
@ -20,7 +20,6 @@ pkg/registry/core/service/ipallocator
|
|||||||
pkg/registry/core/service/portallocator
|
pkg/registry/core/service/portallocator
|
||||||
pkg/registry/core/service/storage
|
pkg/registry/core/service/storage
|
||||||
pkg/util/coverage
|
pkg/util/coverage
|
||||||
pkg/util/ebtables
|
|
||||||
pkg/util/ipconfig
|
pkg/util/ipconfig
|
||||||
pkg/util/iptables
|
pkg/util/iptables
|
||||||
pkg/util/ipvs/testing
|
pkg/util/ipvs/testing
|
||||||
|
@ -20,7 +20,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
|
||||||
|
|
||||||
utilexec "k8s.io/utils/exec"
|
utilexec "k8s.io/utils/exec"
|
||||||
)
|
)
|
||||||
@ -86,7 +85,6 @@ type Interface interface {
|
|||||||
|
|
||||||
// runner implements Interface in terms of exec("ebtables").
|
// runner implements Interface in terms of exec("ebtables").
|
||||||
type runner struct {
|
type runner struct {
|
||||||
mu sync.Mutex
|
|
||||||
exec utilexec.Interface
|
exec utilexec.Interface
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user