Skip to content

Commit a7fc513

Browse files
committed
retain the DNS record comment
1 parent cb9badd commit a7fc513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/cli/multiregion/dns.go

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ func (d *DnsCommand) setCloudflareCname(name, value string) {
179179
Type: "CNAME",
180180
Name: name,
181181
Content: value,
182+
Comment: r[0].Comment,
182183
})
183184
if err != nil {
184185
fmt.Printf("error updating DNS record %s: %s\n", name, err)

0 commit comments

Comments
 (0)