Skip to content

Commit

Permalink
pilot: fix log message in initAutoPilot
Browse files Browse the repository at this point in the history
  • Loading branch information
chokoboko committed Sep 6, 2019
1 parent fb565bc commit c38f241
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c38f241

Please sign in to comment.