Skip to content

Commit 1735f7a

Browse files
authored
Merge pull request kubernetes#87377 from gavinfish/pkg-util-netsh
Fix static check errors in pkg/util/netsh
2 parents 03a99c5 + f19f4e4 commit 1735f7a

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

hack/.staticcheck_failures

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ pkg/registry/core/service/ipallocator
1818
pkg/registry/core/service/portallocator
1919
pkg/registry/core/service/storage
2020
pkg/util/coverage
21-
pkg/util/netsh
2221
pkg/volume
2322
pkg/volume/azure_dd
2423
pkg/volume/azure_file

pkg/util/netsh/netsh.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import (
2121
"net"
2222
"os"
2323
"strings"
24-
"sync"
2524
"time"
2625

2726
"k8s.io/klog"
@@ -54,7 +53,6 @@ const (
5453

5554
// runner implements Interface in terms of exec("netsh").
5655
type runner struct {
57-
mu sync.Mutex
5856
exec utilexec.Interface
5957
}
6058

0 commit comments

Comments
 (0)