chore(lns): clarify catalog lookup order
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
417619dcd3
commit
4a2b6fc752
1 changed files with 2 additions and 0 deletions
2
lns.go
2
lns.go
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue