mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-24 21:29:59 +00:00
fix: #318
This commit is contained in:
parent
44332b9d07
commit
22d3aeb7b5
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user