Parcourir la source

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

master
agensi Eric Zhao il y a 5 ans
Parent
révision
c03de043af
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 Voir le fichier

@@ -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";
}


Chargement…
Annuler
Enregistrer