Skip to content

Commit 7e3064f

Browse files
authored
fix(dns): move defaultTTL const (#2772)
1 parent 4ba865d commit 7e3064f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/namespaces/domain/v2beta1/custom.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ var (
1010
domainTypes = []string{"A", "AAAA", "CNAME", "TXT", "SRV", "TLSA", "MX", "NS", "PTR", "CAA", "ALIAS", "LOC", "SSHFP", "HINFO", "RP", "URI", "DS", "NAPTR"}
1111
)
1212

13+
const defaultTTL = "3600"
14+
1315
// GetCommands returns dns commands.
1416
//
1517
// This function:

internal/namespaces/domain/v2beta1/domain_cli.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ var (
1717
_ = scw.RegionFrPar
1818
)
1919

20-
const defaultTTL = "3600"
21-
2220
func GetGeneratedCommands() *core.Commands {
2321
return core.NewCommands(
2422
dnsRoot(),

0 commit comments

Comments
 (0)