Skip to content

Commit

Permalink
Update 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
1171736840 committed Aug 17, 2023
1 parent 26cadbb commit ed51143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/存储平台.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ public class HuaweiObsFileStorage implements FileStorage {
} else if (acl instanceof String || acl == null) {
String sAcl = (String) acl;
if (StrUtil.isEmpty(sAcl)) sAcl = defaultAcl;
IConvertor convertor = ReflectUtil.invoke(getClient(),"getIConvertor",bucketName);
return convertor.transCannedAcl(sAcl);
if (sAcl == null) return null;
return ObsConvertor.getInstance().transCannedAcl(sAcl);
} else {
throw new FileStorageRuntimeException("不支持的ACL:" + acl);
}
Expand Down

0 comments on commit ed51143

Please sign in to comment.