dashboard: fix "notZero" param typo of "clusterNode" command in SentinelApiClient (#1155)
This commit is contained in:
parent
9705f54611
commit
c03de043af
|
|
@ -393,7 +393,7 @@ public class SentinelApiClient {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public List<NodeVo> fetchClusterNodeOfMachine(String ip, int port, boolean includeZero) {
|
public List<NodeVo> fetchClusterNodeOfMachine(String ip, int port, boolean includeZero) {
|
||||||
String type = "noZero";
|
String type = "notZero";
|
||||||
if (includeZero) {
|
if (includeZero) {
|
||||||
type = "zero";
|
type = "zero";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue