mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 07:15:53 +08:00
added nodes without any dependencies in serviceMap
This commit is contained in:
parent
be7d8c3347
commit
2999adc98f
@ -647,7 +647,7 @@ func GetServiceMapDependencies(client *SqlClient, query *model.GetServicesParams
|
|||||||
|
|
||||||
retMe := make([]ServiceMapDependencyResponseItem, 0, len(serviceMap))
|
retMe := make([]ServiceMapDependencyResponseItem, 0, len(serviceMap))
|
||||||
for _, dependency := range serviceMap {
|
for _, dependency := range serviceMap {
|
||||||
if dependency.Parent == dependency.Child || dependency.Parent == "" {
|
if dependency.Parent == "" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
retMe = append(retMe, *dependency)
|
retMe = append(retMe, *dependency)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user