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

@@ -29,7 +29,7 @@ import (
// and implements only one hook for prebind.
type StatelessPreBindExample struct{}
var _ = framework.PreBindPlugin(StatelessPreBindExample{})
var _ framework.PreBindPlugin = StatelessPreBindExample{}
// Name is the name of the plugin used in Registry and configurations.
const Name = "stateless-prebind-plugin-example"