fix(catalog-backend): make catalog.useUrlReadersSearch actually work

Currently the config isn't passed to the UrlReaderProcessor, so this config flag is ignored

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
Thomas Cardonne
2025-02-28 18:31:22 +01:00
parent b5a82087a7
commit fbc1666f7b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Correctly use the `catalog.useUrlReadersSearch` config.
@@ -378,7 +378,7 @@ export class CatalogBuilder {
return [
new FileReaderProcessor(),
new UrlReaderProcessor({ reader, logger }),
new UrlReaderProcessor({ reader, logger, config }),
CodeOwnersProcessor.fromConfig(config, { logger, reader }),
new AnnotateLocationEntityProcessor({ integrations }),
];