fixed remove operation object name
This commit is contained in:
parent
9c43a86630
commit
f78e649ebd
|
@ -135,7 +135,7 @@ public class S3PluginManager extends TransportManager {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void removeRemoteFile(String bucket, RequestObject resource) throws UnknownHostException {
|
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()));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue