open-nomad/ui/app
Buck Doyle 7b42bb0e2d
ui: Fix server list leader determination for IPv6 (#10530)
This closes #10513, thanks to @bastelfreak for the report.
GET /status/leader returns an IPv6 host with square brackets
around the IP address as expected, but the rpcAddr property
on the agent model does not.

This fixes rpcAddr, updates the Mirage /status/leader mock
to properly format an IPv6 host, and changes the agent
factory to sometimes produce IPv6 addresses.

I added a formatHost utility function to centralise the
conditional square bracket-wrapping that would have
otherwise been further scattered around.
2021-05-13 12:29:51 -05:00
..
abilities ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
adapters ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
components ui: Fix bug where switching topo viz allocation highlights doesn’t update charts (#10490) 2021-05-03 10:36:18 -05:00
controllers ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
helpers Use common helpers and utils for formatting hertz 2021-03-31 09:29:14 -07:00
initializers
mixins ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
models ui: Fix server list leader determination for IPv6 (#10530) 2021-05-13 12:29:51 -05:00
modifiers Quick window resize modifier 2020-10-15 02:54:13 -07:00
routes ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
serializers ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
services Fix exec not working for another region (#10539) 2021-05-13 09:14:16 -05:00
styles ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
templates ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
utils ui: Fix server list leader determination for IPv6 (#10530) 2021-05-13 12:29:51 -05:00
app.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00
breakpoints.js
index.html
router.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00