diff --git a/docs/integrations/gitlab/discovery.md b/docs/integrations/gitlab/discovery.md index 5a5fdb1d92..3715b89920 100644 --- a/docs/integrations/gitlab/discovery.md +++ b/docs/integrations/gitlab/discovery.md @@ -47,9 +47,8 @@ of your backend. ): Promise { const builder = await CatalogBuilder.create(env); + builder.addProcessor( -+ GitLabDiscoveryProcessor.fromConfig(env.config, { -+ logger: env.logger, -+ skipReposWithoutExactFileMatch: false, -+ }) ++ GitLabDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }) + ); ``` + +If you don't want create location object if file with component definition do not exists in project, you can set the `skipReposWithoutExactFileMatch` option. That can reduce count of request to gitlab with 404 status code.