Skip to content

Commit

Permalink
use a different client for copy to possible new bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Sep 4, 2023
1 parent a85750e commit 8932545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/java/src/org/lucee/extension/resource/s3/S3.java
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ else if (se.getErrorCode().equals("NoSuchBucket") && !srcClient.doesBucketExistV
clientTarget.createBucket(cbr);
}

clientSource.copyObject(cor);
trgClient.copyObject(cor);
}
finally {
clientTarget.release();
Expand Down

0 comments on commit 8932545

Please sign in to comment.