Show the Service.IP address instead of the Node.IP address in detail

This commit is contained in:
John Cowen 2018-07-18 13:37:14 +01:00
parent 24c9037cae
commit 1d31bef0a4
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
href=(href-to 'dc.nodes.show' item.Node.Node)
name=item.Node.Node
service=item.Service.ID
address=(concat item.Node.Address ':' item.Service.Port)
address=(concat item.Service.Address ':' item.Service.Port)
checks=item.Checks
}}
{{/each}}
@ -57,7 +57,7 @@
data-test-node=item.Node.Node
name=item.Node.Node
service=item.Service.ID
address=(concat item.Node.Address ':' item.Service.Port)
address=(concat item.Service.Address ':' item.Service.Port)
checks=item.Checks
status=item.Checks.[0].Status
}}