Service Map node key as entry.Name instead of entry.IP (#818)

This commit is contained in:
Gustavo Massaneiro
2022-02-16 04:01:59 -03:00
committed by GitHub
parent 5dfa94d76e
commit bb3ae1ef70
3 changed files with 44 additions and 18 deletions

View File

@@ -102,13 +102,13 @@ func (s *ServiceMapControllerSuite) TestGet() {
// response nodes
aNode := servicemap.ServiceMapNode{
Id: 1,
Name: TCPEntryA.IP,
Name: TCPEntryA.Name,
Entry: TCPEntryA,
Count: 1,
}
bNode := servicemap.ServiceMapNode{
Id: 2,
Name: TCPEntryB.IP,
Name: TCPEntryB.Name,
Entry: TCPEntryB,
Count: 1,
}