Skip to content

Commit 50e407b

Browse files
committed
add comment
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
1 parent 598e3d3 commit 50e407b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/plugin.ts

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export class AnomalyDetectionOpenSearchDashboardsPlugin
6767

6868
const dataSourceEnabled = !!dataSource;
6969

70+
// when MDS is enabled, we leave the client as undefined for now
71+
// it will be defined later with dataSourceId when we have request context
7072
let client: ILegacyClusterClient | undefined = undefined;
7173

7274
if (!dataSourceEnabled) {

0 commit comments

Comments
 (0)