Archived
Fix CNAME updates to use content as target host
This commit is contained in:
1 parent
ee7a24a0da
commit
a64aa173ab
4 files changed
+84
-6
No files matched your search
@@ -343,7 +343,7 @@ func buildDNSRecordUpsertPayload(recordType string, nodeName string, content *st
|
||||
payload.IPv6Address = *normalizedContent
|
||||
}
|
||||
case "CNAME":
|
||||
if payload.Host == "" && normalizedContent != nil {
|
||||
if normalizedContent != nil {
|
||||
payload.Host = *normalizedContent
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user