This commit is contained in:
Fu Diwei 2024-11-09 09:37:46 +08:00
parent 44332b9d07
commit 22d3aeb7b5
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ func NewAliyunALBDeployer(option *DeployerOption) (Deployer, error) {
uploader, err := uploaderAliyunCas.New(&uploaderAliyunCas.AliyunCASUploaderConfig{
AccessKeyId: access.AccessKeyId,
AccessKeySecret: access.AccessKeySecret,
Region: option.DeployConfig.GetConfigAsString("region"),
Region: "", // TODO: 暂时传空,但仅支持阿里云国内版、不支持国际版,后续需要重新设计表单以区分国内国际
})
if err != nil {
return nil, xerrors.Wrap(err, "failed to create ssl uploader")

View File

@ -42,7 +42,7 @@ func NewAliyunNLBDeployer(option *DeployerOption) (Deployer, error) {
uploader, err := uploaderAliyunCas.New(&uploaderAliyunCas.AliyunCASUploaderConfig{
AccessKeyId: access.AccessKeyId,
AccessKeySecret: access.AccessKeySecret,
Region: option.DeployConfig.GetConfigAsString("region"),
Region: "", // TODO: 暂时传空,但仅支持阿里云国内版、不支持国际版,后续需要重新设计表单以区分国内国际
})
if err != nil {
return nil, xerrors.Wrap(err, "failed to create ssl uploader")