Skip to content

Commit

Permalink
emitSDStatusActiveUpdateIntentAndWriteEvents updated
Browse files Browse the repository at this point in the history
  • Loading branch information
brycezhongqing committed Oct 11, 2024
1 parent 7a8fcc8 commit b319ad5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,10 @@ public void setEventEmitter(ServiceDiscoveryEventEmitter emitter) {

@Override
public void emitSDStatusActiveUpdateIntentAndWriteEvents(String cluster, boolean isMarkUp, boolean succeeded, long startAt) {
if (_server instanceof ZooKeeperServer)
{
return;
}
if (_eventEmitter == null) {
_log.info("Service discovery event emitter in ZookeeperAnnouncer is null. Skipping emitting events.");
return;
Expand Down

0 comments on commit b319ad5

Please sign in to comment.