From 2825232339478ee66457f20318f94a835ae1ac32 Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Thu, 27 Oct 2022 10:42:41 -0700 Subject: [PATCH] Fix comments --- bindings/follow.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/follow.go b/bindings/follow.go index 4eac70429..ad1f42019 100644 --- a/bindings/follow.go +++ b/bindings/follow.go @@ -184,7 +184,8 @@ func (c *Cmix) GetNodeRegistrationStatus() ([]byte, error) { // resume them. // // Parameters: -// - timeoutMS - The timeout, in milliseconds, to wait when stopping threads. +// - timeoutMS - The timeout, in milliseconds, to wait when stopping threads +// before failing. func (c *Cmix) PauseNodeRegistrations(timeoutMS int) error { timeout := time.Duration(timeoutMS) * time.Millisecond return c.api.PauseNodeRegistrations(timeout) @@ -196,7 +197,7 @@ func (c *Cmix) PauseNodeRegistrations(timeoutMS int) error { // Parameters: // - toRun - The number of parallel node registrations. // - timeoutMS - The timeout, in milliseconds, to wait when changing node -// registrations. +// registrations before failing. func (c *Cmix) ChangeNumberOfNodeRegistrations(toRun, timeoutMS int) error { timeout := time.Duration(timeoutMS) * time.Millisecond return c.api.ChangeNumberOfNodeRegistrations(toRun, timeout) -- GitLab