fix: fix the bug that the eds protocol is never observed (#3109)

fix: fix the bug that the eds protocol is never observed
pull/3112/head
Liu Ziming 2 years ago committed by GitHub
parent b71902a0d8
commit 4d98800ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,7 +64,7 @@ public class PilotExchanger {
private void observeClusters(List<Cluster> clusters) {
Set<String> resourceName = cdsProtocol.getResourceNames();
if (CollectionUtils.isEmpty(resourceName)) {
if (!CollectionUtils.isEmpty(resourceName)) {
// eds
edsProtocol.observeResource(resourceName, this::observeEndpoints);
}

Loading…
Cancel
Save