From 035668cbfc24f2390926579bdab65acb6c969158 Mon Sep 17 00:00:00 2001 From: benjamin <ben@elixxir.io> Date: Thu, 27 Oct 2022 10:37:53 -0700 Subject: [PATCH] fixed some prints --- cmix/nodes/registrar.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmix/nodes/registrar.go b/cmix/nodes/registrar.go index b76907351..77740debd 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{}{}: -- GitLab