Commit fb0d53a7 by Bertrand Renuart Committed by Ryan Baxter

Invoke super.onCacheRefreshed() before custom logic (#2604)

parent 29adaf26
......@@ -93,6 +93,8 @@ public class CloudEurekaClient extends DiscoveryClient {
@Override
protected void onCacheRefreshed() {
super.onCacheRefreshed();
if (this.cacheRefreshedCount != null) { //might be called during construction and will be null
long newCount = this.cacheRefreshedCount.incrementAndGet();
log.trace("onCacheRefreshed called with count: " + newCount);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment