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:
@@ -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 }),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user