mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Lint: Fix ST1005: error strings should not be capitalized (#834)
This commit is contained in:
@@ -132,7 +132,7 @@ func (r *route53Provider) getZones() error {
|
||||
return err
|
||||
})
|
||||
if err != nil && strings.Contains(err.Error(), "is not authorized") {
|
||||
return errors.New("Check your credentials, your not authorized to perform actions on Route 53 AWS Service")
|
||||
return errors.New("check your credentials, you're not authorized to perform actions on Route 53 AWS Service")
|
||||
} else if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -275,7 +275,7 @@ func (r *route53Provider) GetDomainCorrections(dc *models.DomainConfig) ([]*mode
|
||||
}
|
||||
}
|
||||
if rrset == nil {
|
||||
return nil, fmt.Errorf("No record set found to delete. Name: '%s'. Type: '%s'", k.NameFQDN, k.Type)
|
||||
return nil, fmt.Errorf("no record set found to delete. Name: '%s'. Type: '%s'", k.NameFQDN, k.Type)
|
||||
}
|
||||
} else {
|
||||
changes = append(changes, chg)
|
||||
|
Reference in New Issue
Block a user