mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 02:35:57 +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))
|
||||
for _, dependency := range serviceMap {
|
||||
if dependency.Parent == dependency.Child || dependency.Parent == "" {
|
||||
if dependency.Parent == "" {
|
||||
continue
|
||||
}
|
||||
retMe = append(retMe, *dependency)
|
||||
|
Loading…
x
Reference in New Issue
Block a user