mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-15 18:02:58 +08:00
feat: support Huawei OBS
This commit is contained in:
@@ -2,7 +2,7 @@ plugins {
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
}
|
||||
|
||||
project.version = "0.0.1"
|
||||
project.version = "0.0.2"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -39,9 +39,6 @@ class COSProtocolProvider private constructor() : TransferProtocolProvider {
|
||||
|
||||
try {
|
||||
buckets = cosClient.listBuckets()
|
||||
if (buckets.isEmpty()) {
|
||||
throw IllegalStateException("没有获取到桶信息")
|
||||
}
|
||||
} finally {
|
||||
cosClient.shutdown()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user