Shorten component constructor names

This commit is contained in:
Dr. Stefan Schimanski
2015-11-04 11:57:04 +01:00
parent e04bfd0a3e
commit 7adfabecda
10 changed files with 18 additions and 18 deletions

View File

@@ -41,7 +41,7 @@ type schedulerAlgorithm struct {
podScheduler podschedulers.PodScheduler
}
func NewSchedulerAlgorithm(sched scheduler.Scheduler, podUpdates queue.FIFO, podScheduler podschedulers.PodScheduler) SchedulerAlgorithm {
func New(sched scheduler.Scheduler, podUpdates queue.FIFO, podScheduler podschedulers.PodScheduler) SchedulerAlgorithm {
return &schedulerAlgorithm{
sched: sched,
podUpdates: podUpdates,