class MonitorService extends BaseService {

  public Map<String,Object> queryMaster(User loginUser) {

    Map<String, Object> result = new HashMap<>();

    List<Server> masterServers = getServerListFromZK(true);
    result.put(Constants.DATA_LIST, masterServers);
    putMsg(result,Status.SUCCESS);

    return result;
  }

}