Skip to content

Commit 11383f4

Browse files
author
sunxiaofei03
committed
rm unnecessary return
1 parent ba07527 commit 11383f4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/scheduler/factory/plugins.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ func InsertPredicateKeyToAlgorithmProviderMap(key string) {
218218
for _, provider := range algorithmProviderMap {
219219
provider.FitPredicateKeys.Insert(key)
220220
}
221-
return
222221
}
223222

224223
// InsertPriorityKeyToAlgorithmProviderMap inserts a priority function to all algorithmProviders which are in algorithmProviderMap.
@@ -229,7 +228,6 @@ func InsertPriorityKeyToAlgorithmProviderMap(key string) {
229228
for _, provider := range algorithmProviderMap {
230229
provider.PriorityFunctionKeys.Insert(key)
231230
}
232-
return
233231
}
234232

235233
// RegisterMandatoryFitPredicate registers a fit predicate with the algorithm registry, the predicate is used by

0 commit comments

Comments
 (0)