fix: huawei obs upload file address is incorrect (#1589)

pull/1595/head
Ryan Wang 2021-12-11 11:49:55 +08:00 committed by GitHub
parent 514ccdb2a1
commit 27664fcb41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class HuaweiObsFileHandler implements FileHandler {
try { try {
FilePathDescriptor pathDescriptor = new FilePathDescriptor.Builder() FilePathDescriptor pathDescriptor = new FilePathDescriptor.Builder()
.setBasePath(domain) .setBasePath(basePath.toString())
.setSubPath(source) .setSubPath(source)
.setAutomaticRename(true) .setAutomaticRename(true)
.setRenamePredicate(relativePath -> .setRenamePredicate(relativePath ->