config/default: watcher send changes only on non nil
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
b4f332bf0d
commit
efe215cd60
@ -338,8 +338,10 @@ func (w *defaultWatcher) run() {
|
|||||||
delete(dstmp, sk)
|
delete(dstmp, sk)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
w.vchan <- dstmp
|
if len(dstmp) > 0 {
|
||||||
src = dst
|
w.vchan <- dstmp
|
||||||
|
src = dst
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user