Skip to content

Commit

Permalink
records: fix d2iq-archive#501 - use SOA mname instead of rname
Browse files Browse the repository at this point in the history
  • Loading branch information
James DeFelice authored and jdef committed Jul 12, 2017
1 parent 9d21ea6 commit c1ff74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion records/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (rg *RecordGenerator) ParseState(c Config, masters ...string) error {
hostSpec = labels.RFC952
}

return rg.InsertState(sj, c.Domain, c.SOARname, c.Listener, masters, c.IPSources, hostSpec)
return rg.InsertState(sj, c.Domain, c.SOAMname, c.Listener, masters, c.IPSources, hostSpec)
}

// Tries each master and looks for the leader
Expand Down

0 comments on commit c1ff74d

Please sign in to comment.