1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

fix format

This commit is contained in:
Craig Peterson
2019-06-27 01:21:23 -04:00
parent 394b9ccf41
commit 364aac5073
5 changed files with 11 additions and 15 deletions

View File

@@ -270,10 +270,6 @@ func (r *route53Provider) GetDomainCorrections(dc *models.DomainConfig) ([]*mode
chg.ResourceRecordSet = rrset
}
addCorrection := func(msg string, req *r53.ChangeResourceRecordSetsInput) {
corrections = append(corrections,
&models.Correction{
@@ -290,8 +286,8 @@ func (r *route53Provider) GetDomainCorrections(dc *models.DomainConfig) ([]*mode
})
}
getBatchSize := func(size, max int) int{
if size > max{
getBatchSize := func(size, max int) int {
if size > max {
return max
}
return size