mirror of https://github.com/status-im/consul.git
commit
4248e7659c
|
@ -92,6 +92,8 @@ App.DcRoute = App.BaseRoute.extend({
|
||||||
|
|
||||||
// Return a promise hash to retreieve the
|
// Return a promise hash to retreieve the
|
||||||
// dcs and nodes used in the header
|
// dcs and nodes used in the header
|
||||||
|
var token = App.get('settings.token');
|
||||||
|
|
||||||
return Ember.RSVP.hash({
|
return Ember.RSVP.hash({
|
||||||
dc: params.dc,
|
dc: params.dc,
|
||||||
dcs: Ember.$.getJSON('/v1/catalog/datacenters'),
|
dcs: Ember.$.getJSON('/v1/catalog/datacenters'),
|
||||||
|
|
Loading…
Reference in New Issue