mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Tweaks comment about side effects.
This commit is contained in:
parent
529b24adbf
commit
a885f1bdff
@ -439,7 +439,7 @@ func (l *localState) setSyncState() error {
|
||||
eCopy := existing.Clone()
|
||||
|
||||
// Copy the server's check before modifying, otherwise
|
||||
// in-memory RPC-based unit tests will have side effects.
|
||||
// in-memory RPCs will have side effects.
|
||||
cCopy := check.Clone()
|
||||
|
||||
// If there's a defer timer active then we've got a
|
||||
|
Loading…
x
Reference in New Issue
Block a user