Always enable synthetic config server app in service monitor
@@ -14,7 +14,6 @@ import com.yahoo.vespa.service.monitor.ServiceMonitor;
import com.yahoo.vespa.service.monitor.internal.health.HealthMonitorManager;
import com.yahoo.vespa.service.monitor.internal.slobrok.SlobrokMonitorManagerImpl;
-import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@@ -47,15 +46,11 @@ public class ServiceMonitorImpl implements ServiceMonitor {
}
private List<String> toConfigServerList(ConfigserverConfig configserverConfig) {
- if (configserverConfig.multitenant()) {
return configserverConfig.zookeeperserver().stream()
.map(ConfigserverConfig.Zookeeperserver::hostname)
.collect(Collectors.toList());
}
- return Collections.emptyList();
- }
-
@Override
public Map<ApplicationInstanceReference, ApplicationInstance> getAllApplicationInstances() {
return serviceModelCache.get().getAllApplicationInstances();
