This commit is contained in:
parent
c16e02a7ea
commit
e28c5622de
@ -36,7 +36,7 @@ func NewController() *Controller {
|
|||||||
pushers: make(map[int64]Pusher, len(pushers)),
|
pushers: make(map[int64]Pusher, len(pushers)),
|
||||||
}
|
}
|
||||||
for _, pusher := range pushers {
|
for _, pusher := range pushers {
|
||||||
c.pushers[pusher.Id] = NewPusher(pusher)
|
ctl.pushers[pusher.Id] = NewPusher(pusher)
|
||||||
}
|
}
|
||||||
fmt.Printf("共%d个pusher\n", len(pushers))
|
fmt.Printf("共%d个pusher\n", len(pushers))
|
||||||
return ctl
|
return ctl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user