1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
This commit is contained in:
Tom Limoncelli
2020-02-28 13:10:33 -05:00
parent bdddd466bf
commit 2dcb33e7b7

View File

@ -112,7 +112,7 @@ func (c *Provider) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Corr
if os.IsNotExist(err) { if os.IsNotExist(err) {
zoneFileFound = false zoneFileFound = false
} else { } else {
return nil, fmt.Errorf("can't open %s:: %w", zoneFileName, err) return nil, fmt.Errorf("can't open %s: %w", zoneFileName, err)
} }
} else { } else {
foundRecords, err = octoyaml.ReadYaml(foundFH, dc.Name) foundRecords, err = octoyaml.ReadYaml(foundFH, dc.Name)