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:
draveness
2019-10-18 10:58:44 +08:00
parent f9acca889c
commit 39af760930
18 changed files with 37 additions and 41 deletions

View File

@@ -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) {