Просмотр исходного кода

dashboard: fix "notZero" param typo of "clusterNode" command in SentinelApiClient (#1155)

master
agensi Eric Zhao 5 лет назад
Родитель
Сommit
c03de043af
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/client/SentinelApiClient.java

+ 1
- 1
sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/client/SentinelApiClient.java Просмотреть файл

@@ -393,7 +393,7 @@ public class SentinelApiClient {
* @return
*/
public List<NodeVo> fetchClusterNodeOfMachine(String ip, int port, boolean includeZero) {
String type = "noZero";
String type = "notZero";
if (includeZero) {
type = "zero";
}


Загрузка…
Отмена
Сохранить