You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cmd/cli/multiregion/dns.go
+32-19
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,15 @@ import (
17
17
)
18
18
19
19
typeDnsCommandstruct {
20
-
cfClient*cloudflare.API
21
-
cfZone*cloudflare.ResourceContainer
22
-
domainNamestring
23
-
envstring
24
-
failbackbool
25
-
regionstring
26
-
region2string
27
-
testModebool
20
+
cfClient*cloudflare.API
21
+
cfZone*cloudflare.ResourceContainer
22
+
domainNamestring
23
+
envstring
24
+
failbackbool
25
+
includeCommonbool
26
+
regionstring
27
+
region2string
28
+
testModebool
28
29
}
29
30
30
31
typeDnsValuesstruct {
@@ -36,36 +37,39 @@ type DnsValues struct {
36
37
}
37
38
38
39
funcInitDnsCmd(parentCmd*cobra.Command) {
39
-
varfailbackbool
40
+
varfailback, includeCommonbool
40
41
41
42
cmd:=&cobra.Command{
42
43
Use: "dns",
43
44
Short: "DNS Failover and Failback",
44
45
Long: `Configure DNS CNAME values for primary or secondary region hostnames. Default is failover, use --failback to switch back to the primary region.`,
0 commit comments