Skip to content

Commit

Permalink
Fix datasource conntection failure (opensearch-project#6648)
Browse files Browse the repository at this point in the history
* Fix datasource conntection failure

Signed-off-by: Yuanqi(Ella) Zhu <zhyuanqi@amazon.com>

* Changeset file for PR opensearch-project#6648 created/updated

---------

Signed-off-by: Yuanqi(Ella) Zhu <zhyuanqi@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and LDrago27 committed Jun 3, 2024
1 parent 72cea1b commit ecb08db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/6648.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix datasource test connect error ([#6648](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6648))
1 change: 1 addition & 0 deletions src/plugins/data_source/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export class DataSourcePlugin implements Plugin<DataSourcePluginSetup, DataSourc
private createDataSourceRouteHandlerContext = (
dataSourceService: DataSourceServiceSetup,
cryptography: CryptographyServiceSetup,
logger: Logger,
auditTrailPromise: Promise<AuditorFactory>,
authRegistryPromise: Promise<IAuthenticationMethodRegistry>,
customApiSchemaRegistryPromise: Promise<CustomApiSchemaRegistry>
Expand Down

0 comments on commit ecb08db

Please sign in to comment.