chore(lns): clarify catalog lookup order

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-02 14:40:08 +00:00
parent 417619dcd3
commit 4a2b6fc752

2
lns.go
View file

@ -168,6 +168,8 @@ func lookupCatalogName[T any](
return zero, false
}
// Try the raw label first so dotted catalog labels remain addressable by
// their exact catalog name instead of forcing them through hash lookup.
if item, ok := byLabel(label); ok {
return item, true
}