Skip to content

Commit

Permalink
Rename DumperCommonContext
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Nov 3, 2023
1 parent b04cb22 commit 2dd1a38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public final class MigrationJobPreparer {
*/
public void prepare(final MigrationJobItemContext jobItemContext) throws SQLException {
ShardingSpherePreconditions.checkState(StandardPipelineDataSourceConfiguration.class
.equals(jobItemContext.getTaskConfig().getDumperContext().getCommonContext().getDataSourceConfig().getClass()),
.equals(jobItemContext.getTaskConfig().getDumperContext().getCommonContext().getDataSourceConfig().getClass()),
() -> new UnsupportedSQLOperationException("Migration inventory dumper only support StandardPipelineDataSourceConfiguration"));
PipelineJobPreparerUtils.checkSourceDataSource(jobItemContext.getJobConfig().getSourceDatabaseType(), Collections.singleton(jobItemContext.getSourceDataSource()));
if (jobItemContext.isStopping()) {
Expand Down

0 comments on commit 2dd1a38

Please sign in to comment.