mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-28 15:19:57 +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证书中的可用域名
|
||||
if(strings.Contains(t.option.Domain, "*")){
|
||||
list, err_get_list := t.getDomainList()
|
||||
if err_get_list != nil {
|
||||
return fmt.Errorf("failed to get certificate domain list: %w", err_get_list)
|
||||
list, errGetList := t.getDomainList()
|
||||
if errGetList != nil {
|
||||
return fmt.Errorf("failed to get certificate domain list: %w", errGetList)
|
||||
}
|
||||
if list == nil || len(list) == 0 {
|
||||
return fmt.Errorf("failed to get certificate domain list: empty list.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user