Rename to GithubOrgEntityProvider

The other one has been deprecated!

Signed-off-by: Johnny Huynh <27847622+johnnyhuy@users.noreply.github.com>
This commit is contained in:
Johnny Huynh
2022-11-04 09:28:45 +11:00
committed by GitHub
parent 23526ffd3a
commit a54b681d02
+2 -2
View File
@@ -38,7 +38,7 @@ schedule it:
```diff
// packages/backend/src/plugins/catalog.ts
+import { GitHubOrgEntityProvider } from '@backstage/plugin-catalog-backend-module-github';
+import { GithubOrgEntityProvider } from '@backstage/plugin-catalog-backend-module-github';
export default async function createPlugin(
env: PluginEnvironment,
@@ -48,7 +48,7 @@ schedule it:
+ // The org URL below needs to match a configured integrations.github entry
+ // specified in your app-config.
+ builder.addEntityProvider(
+ GitHubOrgEntityProvider.fromConfig(env.config, {
+ GithubOrgEntityProvider.fromConfig(env.config, {
+ id: 'production',
+ orgUrl: 'https://github.com/backstage',
+ logger: env.logger,