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

10 lines
179 B
JavaScript

import Adapter from './application';
export default Adapter.extend({
requestForQuery: function(request) {
return request`
GET /v1/catalog/datacenters
`;
},
});