pilot: fix log message in initAutoPilot
This commit is contained in:
parent
fb565bcd5d
commit
c38f241b51
8
pilot.go
8
pilot.go
@ -141,10 +141,10 @@ var _ autopilot.ChannelController = (*chanController)(nil)
|
||||
// and all interfaces needed to drive it won't be launched before the Manager's
|
||||
// StartAgent method is called.
|
||||
func initAutoPilot(svr *server, cfg *autoPilotConfig) (*autopilot.ManagerCfg, error) {
|
||||
atplLog.Infof("Instantiating autopilot with max_channels=%d, "+
|
||||
"allocation=%f, min_chan_size=%d, max_chan_size=%d, "+
|
||||
"private=%t, min_confs=%d, conf_target=%d", cfg.MaxChannels,
|
||||
cfg.MinChannelSize, cfg.Private, cfg.MinConfs, cfg.ConfTarget)
|
||||
atplLog.Infof("Instantiating autopilot with max_channels=%d, allocation=%f, "+
|
||||
"min_chan_size=%d, max_chan_size=%d, private=%t, min_confs=%d, "+
|
||||
"conf_target=%d", cfg.MaxChannels, cfg.Allocation, cfg.MinChannelSize,
|
||||
cfg.MaxChannelSize, cfg.Private, cfg.MinConfs, cfg.ConfTarget)
|
||||
|
||||
// Set up the constraints the autopilot heuristics must adhere to.
|
||||
atplConstraints := autopilot.NewConstraints(
|
||||
|
Loading…
Reference in New Issue
Block a user