[ISSUE #670] Fix building error

This commit is contained in:
elegance code
2021-01-12 20:08:48 +08:00
committed by GitHub
parent a615c8cc59
commit a6ce939388

View File

@@ -327,7 +327,7 @@ public class DashboardCollectTask {
private void addSystemTopic() throws Exception { private void addSystemTopic() throws Exception {
ClusterInfo clusterInfo = mqAdminExt.examineBrokerClusterInfo(); ClusterInfo clusterInfo = mqAdminExt.examineBrokerClusterInfo();
HashMap<String, Set<String>> clusterTable = clusterInfo.getClusterAddrTable(); HashMap<String, Set<String>> clusterTable = clusterInfo.getClusterAddrTable();
for(Map.Entry<String, Set<String>> entry : clusterTable.entrySet()){ for (Map.Entry<String, Set<String>> entry : clusterTable.entrySet()) {
String clusterName = entry.getKey(); String clusterName = entry.getKey();
TopicValidator.addSystemTopic(clusterName); TopicValidator.addSystemTopic(clusterName);
Set<String> brokerNames = entry.getValue(); Set<String> brokerNames = entry.getValue();