fixed remove operation object name

This commit is contained in:
roberto cirillo 2021-01-07 15:56:54 +01:00
parent 9c43a86630
commit f78e649ebd
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class S3PluginManager extends TransportManager {
@Override
public void removeRemoteFile(String bucket, RequestObject resource) throws UnknownHostException {
BucketOperator.getInstance(s3).deleteObject(this.bucket, Utils.convertToS3Format(resource.getRemotePath()));
BucketOperator.getInstance(s3).deleteObject(Utils.convertToS3Format(resource.getRootPath()), Utils.convertToS3Format(resource.getRemotePath()));
}