Merge pull request #3475 from chokoboko/fix-pilot-log-message

trivial: fix log message in initAutoPilot
This commit is contained in:
Johan T. Halseth 2019-09-09 10:25:46 +02:00 committed by GitHub
commit 78e87d148f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(