mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
feat: several cleanups in the scheduling package
+ Remove unused variable in tests. + Use more common statement for interface conformance check. + Fix several comments in the framework plugins.
This commit is contained in:
@@ -118,7 +118,7 @@ func (fp *tokenFilter) PreFilterExtensions() framework.PreFilterExtensions {
|
||||
return fp
|
||||
}
|
||||
|
||||
var _ = framework.FilterPlugin(&tokenFilter{})
|
||||
var _ framework.FilterPlugin = &tokenFilter{}
|
||||
|
||||
// TestPreemption tests a few preemption scenarios.
|
||||
func TestPreemption(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user