Skip to content
Snippets Groups Projects
Commit 035668cb authored by benjamin's avatar benjamin
Browse files

fixed some prints

parent 377549f0
No related branches found
No related tags found
2 merge requests!510Release,!432Control node reg
......@@ -148,7 +148,7 @@ func (r *registrar) ChangeNumberOfNodeRegistrations(toRun int,
defer timer.Stop()
if numRunning < toRun {
jww.INFO.Printf("ChangeNumberOfNodeRegistrations(%d) Reducing number "+
"of node registrations from %d to %d", numRunning, toRun)
"of node registrations from %d to %d", toRun, numRunning, toRun)
for i := 0; i < toRun-numRunning; i++ {
select {
case r.pauser <- struct{}{}:
......@@ -158,7 +158,7 @@ func (r *registrar) ChangeNumberOfNodeRegistrations(toRun int,
}
} else if numRunning > toRun {
jww.INFO.Printf("ChangeNumberOfNodeRegistrations(%d) Increasing number "+
"of node registrations from %d to %d", numRunning, toRun)
"of node registrations from %d to %d", toRun, numRunning, toRun)
for i := 0; i < toRun-numRunning; i++ {
select {
case r.resumer <- struct{}{}:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment