Add: interface check
This commit is contained in:
@@ -36,8 +36,11 @@ type NodeAffinity struct {
|
||||
addedPrefSchedTerms *nodeaffinity.PreferredSchedulingTerms
|
||||
}
|
||||
|
||||
var _ framework.PreFilterPlugin = &NodeAffinity{}
|
||||
var _ framework.FilterPlugin = &NodeAffinity{}
|
||||
var _ framework.PreScorePlugin = &NodeAffinity{}
|
||||
var _ framework.ScorePlugin = &NodeAffinity{}
|
||||
var _ framework.ScoreExtensions = &NodeAffinity{}
|
||||
var _ framework.EnqueueExtensions = &NodeAffinity{}
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user