engine: resources: Add the proper prefix to grouped http resources

Resources that can be grouped into the http:server resource must have
that prefix. Grouping is basically hierarchical, and without that common
prefix, it means we'd have to special-case our grouping algorithm.
This commit is contained in:
James Shubin
2025-05-25 01:40:25 -04:00
parent 1f54253f95
commit 654e958d3f
35 changed files with 1513 additions and 1413 deletions

View File

@@ -181,7 +181,7 @@ func (obj RHVSlice) Less(i, j int) bool {
li := len(si)
lj := len(sj)
if li != lj { // eg: http:ui vs. http:ui:text
if li != lj { // eg: http:server:ui vs. http:server:ui:text
return li > lj // reverse
}