|
|
@@ -28,7 +28,7 @@ public class MasterService {
|
|
|
|
|
|
public List<Master> getMasters() {
|
|
|
try {
|
|
|
- String resultStr = restTemplate.getForObject(getUrl() + "/v1/master/list", String.class);
|
|
|
+ String resultStr = restTemplate.getForObject(getUrl() + "/v1/master/list?cloudEnabled=true", String.class);
|
|
|
ResultListWrap<Master> result = JSON.parseObject(resultStr, new TypeReference<ResultListWrap<Master>>(Master.class) {
|
|
|
});
|
|
|
if (result.isSuccess()) {
|