Skip to content

Commit

Permalink
[update][reader][rdbmsreader] Refactor connection item from list to…
Browse files Browse the repository at this point in the history
… string
  • Loading branch information
wgzhao committed Oct 9, 2024
1 parent 8ef27e9 commit e9cdef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void init()
String.format("您配置的fetchSize有误,fetchSize : [%d] 设置值不能小于 1.", fetchSize));
}
this.originalConfig.set(FETCH_SIZE, fetchSize);
Configuration connection = this.originalConfig.getListConfiguration(CONNECTION).get(0);
Configuration connection = this.originalConfig.getConfiguration(CONNECTION);
if (connection == null) {
throw AddaxException.asAddaxException(REQUIRED_VALUE, "config 'connection' is required and must not be " +
"empty");
Expand Down

0 comments on commit e9cdef5

Please sign in to comment.