src/main/java/org/embulk/output/s3v2/strategy/AbstractStrategy.java in embulk-output-s3v2-0.1.0 vs src/main/java/org/embulk/output/s3v2/strategy/AbstractStrategy.java in embulk-output-s3v2-0.2.0
- old
+ new
@@ -11,10 +11,10 @@
protected PluginTask task;
protected int taskIndex;
public AbstractStrategy(PluginTask task, int taskIndex)
{
- s3 = new S3ClientManager(task.getRegion());
+ s3 = new S3ClientManager(task.getRegion(), task.getEnableProfile(), task.getProfile());
this.task = task;
this.taskIndex = taskIndex;
if (!validate()) {
throw new IllegalArgumentException("Unsupported parameters combination");