DOCS: Fix typo in record.go (#2161)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Paul Dee 2023-03-14 19:04:38 +01:00 committed by GitHub
parent 2be3edc0a7
commit 87e22b92cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -334,7 +334,7 @@ func (rc *RecordConfig) ToDiffable(extraMaps ...map[string]string) string {
// ToComparableNoTTL returns a comparison string. If you need to compare two
// RecordConfigs, you can simply compare the string returned by this function.
// THe comparison includes all fields except TTL and any provider-specific
// The comparison includes all fields except TTL and any provider-specific
// metafields. Provider-specific metafields like CF_PROXY are not the same as
// pseudo-records like ANAME or R53_ALIAS
// This replaces ToDiff()
@ -351,7 +351,7 @@ func (rc *RecordConfig) ToRR() dns.RR {
log.Fatalf("No such DNS type as (%#v)\n", rc.Type)
}
// Magicallly create an RR of the correct type.
// Magically create an RR of the correct type.
rr := dns.TypeToRR[rdtype]()
// Fill in the header.