mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Refactor in preparation to unexport RecordConfig.{Name,NameFQDN,Target} (#337)
* Preparing for the unexport of Name/NameFQDN/Target * Cleanups
This commit is contained in:
@ -104,7 +104,7 @@ func keyFor(r *gdns.ResourceRecordSet) key {
|
||||
return key{Type: r.Type, Name: r.Name}
|
||||
}
|
||||
func keyForRec(r *models.RecordConfig) key {
|
||||
return key{Type: r.Type, Name: r.NameFQDN + "."}
|
||||
return key{Type: r.Type, Name: r.GetLabelFQDN() + "."}
|
||||
}
|
||||
|
||||
func (g *gcloud) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error) {
|
||||
|
Reference in New Issue
Block a user