Skip to content

Commit

Permalink
Adds PTR type for DNS Record Set (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo authored Jul 18, 2018
1 parent 0b8c05d commit 05b34aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huaweicloud/resource_huaweicloud_dns_recordset_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func resourceValidateDescription(v interface{}, k string) (ws []string, errors [
return
}

var recordSetTypes = [7]string{"A", "AAAA", "MX", "CNAME", "TXT", "NS", "SRV"}
var recordSetTypes = [8]string{"A", "AAAA", "MX", "CNAME", "TXT", "NS", "SRV", "PTR"}

func resourceRecordsetValidateType(v interface{}, k string) (ws []string, errors []error) {
value := v.(string)
Expand Down

0 comments on commit 05b34aa

Please sign in to comment.