Metrics: fix entity titles for db loadpoints (#30634)

This commit is contained in:
Michael Geers 2026-06-09 14:01:53 +02:00 • committed by GitHub
parent 6e27156c85
commit c685afe9f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 11 deletions

View file

@ -1328,13 +1328,6 @@ func newLoadpoint(idx int, name string, other map[string]any, settingsFn func(*u
return lp, err
}
// lazily update entity title
if title := lp.GetTitle(); title != "" {
if err := collector.UpdateTitle(title); err != nil {
return lp, err
}
}
return lp, nil
}