consul/ui-v2/app/adapters/coordinate.js

12 lines
267 B
JavaScript

import Adapter from './application';
// TODO: Update to use this.formatDatacenter()
export default Adapter.extend({
requestForQuery: function(request, { dc, index }) {
return request`
GET /v1/coordinate/nodes?${{ dc }}
${{ index }}
`;
},
});