mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-30 08:09:55 +00:00
change var name style
This commit is contained in:
parent
d2b6ab75b7
commit
312c6e685a
@ -103,9 +103,9 @@ func (t *tencentCdn) deploy(certId string) error {
|
|||||||
|
|
||||||
// 如果是泛域名就从cdn列表下获取SSL证书中的可用域名
|
// 如果是泛域名就从cdn列表下获取SSL证书中的可用域名
|
||||||
if(strings.Contains(t.option.Domain, "*")){
|
if(strings.Contains(t.option.Domain, "*")){
|
||||||
list, err_get_list := t.getDomainList()
|
list, errGetList := t.getDomainList()
|
||||||
if err_get_list != nil {
|
if errGetList != nil {
|
||||||
return fmt.Errorf("failed to get certificate domain list: %w", err_get_list)
|
return fmt.Errorf("failed to get certificate domain list: %w", errGetList)
|
||||||
}
|
}
|
||||||
if list == nil || len(list) == 0 {
|
if list == nil || len(list) == 0 {
|
||||||
return fmt.Errorf("failed to get certificate domain list: empty list.")
|
return fmt.Errorf("failed to get certificate domain list: empty list.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user