mirror of https://github.com/status-im/consul.git
Show the Service.IP address instead of the Node.IP address in detail
This commit is contained in:
parent
24c9037cae
commit
1d31bef0a4
|
@ -37,7 +37,7 @@
|
||||||
href=(href-to 'dc.nodes.show' item.Node.Node)
|
href=(href-to 'dc.nodes.show' item.Node.Node)
|
||||||
name=item.Node.Node
|
name=item.Node.Node
|
||||||
service=item.Service.ID
|
service=item.Service.ID
|
||||||
address=(concat item.Node.Address ':' item.Service.Port)
|
address=(concat item.Service.Address ':' item.Service.Port)
|
||||||
checks=item.Checks
|
checks=item.Checks
|
||||||
}}
|
}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
data-test-node=item.Node.Node
|
data-test-node=item.Node.Node
|
||||||
name=item.Node.Node
|
name=item.Node.Node
|
||||||
service=item.Service.ID
|
service=item.Service.ID
|
||||||
address=(concat item.Node.Address ':' item.Service.Port)
|
address=(concat item.Service.Address ':' item.Service.Port)
|
||||||
checks=item.Checks
|
checks=item.Checks
|
||||||
status=item.Checks.[0].Status
|
status=item.Checks.[0].Status
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue