Skip to content

Commit

Permalink
Remove default priority for SRV record
Browse files Browse the repository at this point in the history
  • Loading branch information
quite4work committed Oct 24, 2022
1 parent 6b33609 commit 78b2ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cloudns/resource_dns_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func resourceDnsRecord() *schema.Resource {
func resourceDnsRecordCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
clientConfig := meta.(ClientConfig)
recordToCreate := toApiRecord(d)
if recordToCreate.Rtype == "MX" || recordToCreate.Rtype == "SRV" {
if recordToCreate.Rtype == "MX" {
recordToCreate.Priority = 10
}

Expand Down

0 comments on commit 78b2ae9

Please sign in to comment.