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

10 lines
181 B
JavaScript

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