Rename func name according TODO

This commit is contained in:
junxu
2018-01-11 22:36:28 -05:00
parent 5911f87dad
commit 5deb5f4913
12 changed files with 30 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ func init() {
return predicates.NewPredicateMetadataFactory(args.PodLister)
})
factory.RegisterPriorityMetadataProducerFactory(
func(args factory.PluginFactoryArgs) algorithm.MetadataProducer {
func(args factory.PluginFactoryArgs) algorithm.PriorityMetadataProducer {
return priorities.NewPriorityMetadataFactory(args.ServiceLister, args.ControllerLister, args.ReplicaSetLister, args.StatefulSetLister)
})