Skip to content

Commit 14fa18a

Browse files
committed
fix: typo
1 parent e2dae24 commit 14fa18a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • pkg/core
    • ssl-applicator/acme-dns01/providers/ucloud-udnr/internal
    • ssl-deployer/providers/lecdn

pkg/core/ssl-applicator/acme-dns01/providers/ucloud-udnr/internal/lego.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type DNSProvider struct {
4747

4848
func NewDefaultConfig() *Config {
4949
return &Config{
50-
TTL: int32(env.GetOrDefaultInt(EnvTTL, 300)),
50+
TTL: int32(env.GetOrDefaultInt(EnvTTL, 600)),
5151
PropagationTimeout: env.GetOrDefaultSecond(EnvPropagationTimeout, 2*time.Minute),
5252
PollingInterval: env.GetOrDefaultSecond(EnvPollingInterval, dns01.DefaultPollingInterval),
5353
HTTPTimeout: env.GetOrDefaultSecond(EnvHTTPTimeout, 30*time.Second),

pkg/core/ssl-deployer/providers/lecdn/lecdn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ type SSLDeployerProviderConfig struct {
2323
// 可取值 "client"、"master"。
2424
ApiRole string `json:"apiRole"`
2525
// LeCDN 用户名。
26-
Username string `json:"accessKeyId"`
26+
Username string `json:"username"`
2727
// LeCDN 用户密码。
28-
Password string `json:"accessKey"`
28+
Password string `json:"password"`
2929
// 是否允许不安全的连接。
3030
AllowInsecureConnections bool `json:"allowInsecureConnections,omitempty"`
3131
// 部署资源类型。

0 commit comments

Comments
 (0)