Skip to content

Commit

Permalink
Rename ReadwriteSplittingQualifiedDataSourceDeletedSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Dec 13, 2024
1 parent 22d9821 commit 79f0182
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public void cleanStorageNodeDataSources() {

private void deleteStorageNodeDataSources(final ReadwriteSplittingDataSourceGroupRule rule) {
rule.getReadwriteSplittingGroup().getReadDataSources()
.forEach(each -> computeNodeInstanceContext.getEventBusContext().post(new ReadwriteSplittingQualifiedDataSourceDeletedEvent(new QualifiedDataSource(databaseName, rule.getName(), each))));
.forEach(each -> computeNodeInstanceContext.getEventBusContext()
.post(new ReadwriteSplittingQualifiedDataSourceDeletedEvent(new QualifiedDataSource(databaseName, rule.getName(), each))));
}
}

0 comments on commit 79f0182

Please sign in to comment.