mirror of https://github.com/k3s-io/k3s
Merge pull request #67759 from tizhou86/newPR3
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix golint error under scheduler/factory. **What this PR does / why we need it**: Fix golint error under scheduler/factory. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: NONE **Special notes for your reviewer**: NONE **Release note**: ```release-note NONE ```pull/8/head
commit
92f2319379
|
@ -1085,7 +1085,7 @@ func (c *configFactory) CreateFromConfig(policy schedulerapi.Policy) (*scheduler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extenders := make([]algorithm.SchedulerExtender, 0)
|
var extenders []algorithm.SchedulerExtender
|
||||||
if len(policy.ExtenderConfigs) != 0 {
|
if len(policy.ExtenderConfigs) != 0 {
|
||||||
ignoredExtendedResources := sets.NewString()
|
ignoredExtendedResources := sets.NewString()
|
||||||
for ii := range policy.ExtenderConfigs {
|
for ii := range policy.ExtenderConfigs {
|
||||||
|
|
Loading…
Reference in New Issue