mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-17 19:52:02 +08:00
修改部署到腾讯云cos,bucket参数获取
This commit is contained in:
@@ -111,7 +111,7 @@ func DeployToTX(cfg map[string]any) error {
|
|||||||
if !ok {
|
if !ok {
|
||||||
return fmt.Errorf("参数错误:region")
|
return fmt.Errorf("参数错误:region")
|
||||||
}
|
}
|
||||||
bucket, ok := cfg["domain"].(string)
|
bucket, ok := cfg["bucket"].(string)
|
||||||
if !ok {
|
if !ok {
|
||||||
return fmt.Errorf("参数错误:bucket")
|
return fmt.Errorf("参数错误:bucket")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user