mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12: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"
|
||||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
|
||||
@@ -43,9 +43,6 @@ class OSSProtocolProvider private constructor() : TransferProtocolProvider {
|
||||
|
||||
try {
|
||||
buckets = oss.listBuckets()
|
||||
if (buckets.isEmpty()) {
|
||||
throw IllegalStateException("没有获取到桶信息")
|
||||
}
|
||||
} finally {
|
||||
oss.shutdown()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user