File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ pkg/kubelet/cm/devicemanager
18
18
pkg/kubelet/pluginmanager/operationexecutor
19
19
pkg/kubelet/pluginmanager/pluginwatcher
20
20
pkg/kubelet/remote
21
- pkg/printers
22
21
pkg/probe/http
23
22
pkg/proxy/healthcheck
24
23
pkg/proxy/iptables
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ type PrintHandler interface {
45
45
type handlerEntry struct {
46
46
columnDefinitions []metav1.TableColumnDefinition
47
47
printFunc reflect.Value
48
- args []reflect.Value
49
48
}
50
49
51
50
// HumanReadableGenerator is an implementation of TableGenerator used to generate
@@ -160,7 +159,7 @@ func ValidateRowPrintHandlerFunc(printFunc reflect.Value) error {
160
159
funcType := printFunc .Type ()
161
160
if funcType .NumIn () != 2 || funcType .NumOut () != 2 {
162
161
return fmt .Errorf ("invalid print handler." +
163
- "Must accept 2 parameters and return 2 value. " )
162
+ "Must accept 2 parameters and return 2 value" )
164
163
}
165
164
if funcType .In (1 ) != reflect .TypeOf ((* GenerateOptions )(nil )).Elem () ||
166
165
funcType .Out (0 ) != reflect .TypeOf ((* []metav1.TableRow )(nil )).Elem () ||
You can’t perform that action at this time.
0 commit comments