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

11 lines
220 B
JavaScript

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