mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
gofmt all (#1144)
This commit is contained in:
@@ -186,7 +186,6 @@ func GetZone(args GetZoneArgs) error {
|
||||
zoneRecs[i] = recs
|
||||
}
|
||||
|
||||
|
||||
// Write the heading:
|
||||
|
||||
if args.OutputFormat == "js" || args.OutputFormat == "djs" {
|
||||
|
@@ -326,7 +326,7 @@ func (c *hednsProvider) GetZoneRecords(domain string) (models.Records, error) {
|
||||
err = rc.SetTarget(data)
|
||||
case "MX":
|
||||
// dns.he.net omits the trailing "." on the hostnames for MX records
|
||||
err = rc.SetTargetMX(uint16(priority), data + ".")
|
||||
err = rc.SetTargetMX(uint16(priority), data+".")
|
||||
case "SRV":
|
||||
err = rc.SetTargetSRVPriorityString(uint16(priority), data)
|
||||
case "SPF":
|
||||
|
Reference in New Issue
Block a user