mirror of https://github.com/status-im/consul.git
watch: Fixing bug with null keys
This commit is contained in:
parent
0cd9faf3a2
commit
94615b0b7e
|
@ -80,8 +80,9 @@ OUTER:
|
|||
}
|
||||
|
||||
// Update the index, look for change
|
||||
oldIndex := p.lastIndex
|
||||
p.lastIndex = index
|
||||
if reflect.DeepEqual(p.lastResult, result) {
|
||||
if oldIndex != 0 && reflect.DeepEqual(p.lastResult, result) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue