diff --git a/cmix/nodes/registrar.go b/cmix/nodes/registrar.go index b76907351c6adab24316677582b1fb9cc700b3ff..77740debdc61c6053a0207aa775d8fa2fa6b84ac 100644 --- a/cmix/nodes/registrar.go +++ b/cmix/nodes/registrar.go @@ -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{}{}: