mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
various: resolve linter errors in a number of pkgs (#434)
- webui: resolve linter errors - msghub: resolve linter errors - policy: resolve linter errors - extension: resolve linter errors
This commit is contained in:
@@ -228,7 +228,7 @@ func extractDomainMailbox(address string) (string, error) {
|
||||
domain = local
|
||||
}
|
||||
|
||||
if ValidateDomainPart(domain) == false {
|
||||
if !ValidateDomainPart(domain) {
|
||||
return "", fmt.Errorf("Domain part %q in %q failed validation", domain, address)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user