hetzner: set min TTL to 60s (#1666)
This commit is contained in:
parent
0e614c1d0b
commit
806ef243d1
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/go-acme/lego/v4/providers/dns/hetzner/internal"
|
||||
)
|
||||
|
||||
const minTTL = 600
|
||||
const minTTL = 60
|
||||
|
||||
// Environment variables names.
|
||||
const (
|
||||
|
|
|
@ -74,8 +74,8 @@ func TestNewDNSProviderConfig(t *testing.T) {
|
|||
{
|
||||
desc: "invalid TTL",
|
||||
apiKey: "123",
|
||||
ttl: 60,
|
||||
expected: "hetzner: invalid TTL, TTL (60) must be greater than 600",
|
||||
ttl: 10,
|
||||
expected: "hetzner: invalid TTL, TTL (10) must be greater than 60",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue