Merge pull request #4410 from hashicorp/bugfix/gh-4175-service-ip
UI - Bugfix: Show Service IP not the Node IP
This commit is contained in:
commit
a1a0c1db0a
|
@ -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
|
||||
}}
|
||||
|
|
|
@ -30,18 +30,21 @@ Feature: dc / services / show: Show Service
|
|||
Service:
|
||||
ID: passing-service-8080
|
||||
Port: 8080
|
||||
Node:
|
||||
Address: 1.1.1.1
|
||||
Node:
|
||||
Address: 1.2.2.2
|
||||
- Service:
|
||||
ID: service-8000
|
||||
Port: 8000
|
||||
Node:
|
||||
Address: 2.2.2.2
|
||||
Node:
|
||||
Address: 2.3.3.3
|
||||
- Service:
|
||||
ID: service-8888
|
||||
Port: 8888
|
||||
Node:
|
||||
Address: 3.3.3.3
|
||||
Node:
|
||||
Address: 3.4.4.4
|
||||
---
|
||||
When I visit the service page for yaml
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue