open-consul/ui/packages/consul-ui/app/adapters/dc.js

10 lines
183 B
JavaScript

import Adapter from './application';
export default class DcAdapter extends Adapter {
requestForQuery(request) {
return request`
GET /v1/catalog/datacenters
`;
}
}