Skip to content
Snippets Groups Projects
Commit 28252323 authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix comments

parent c2fb2b8e
No related branches found
No related tags found
2 merge requests!510Release,!432Control node reg
......@@ -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)
......
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