fix race condition of log
diff --git a/changes.go b/changes.go index 987c307..993613f 100644 --- a/changes.go +++ b/changes.go
@@ -98,8 +98,8 @@ return } - go pollWithBackoff(c.quitChan, c.pollChangeAgent, c.handleChangeServerError) log.Debug("pollChangeManager: pollChangeWithBackoff() started pollWithBackoff") + go pollWithBackoff(c.quitChan, c.pollChangeAgent, c.handleChangeServerError) }