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:
@@ -118,9 +118,9 @@ func (s *SoftLayer) getDomain(name *string) (*datatypes.Dns_Domain, error) {
|
||||
}
|
||||
|
||||
if len(domains) == 0 {
|
||||
return nil, fmt.Errorf("Didn't find a domain matching %s", *name)
|
||||
return nil, fmt.Errorf("didn't find a domain matching %s", *name)
|
||||
} else if len(domains) > 1 {
|
||||
return nil, fmt.Errorf("Found %d domains matching %s", len(domains), *name)
|
||||
return nil, fmt.Errorf("found %d domains matching %s", len(domains), *name)
|
||||
}
|
||||
|
||||
return &domains[0], nil
|
||||
|
Reference in New Issue
Block a user