Skip to content
Snippets Groups Projects
Commit b4d5af54 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

fix linter

parent 3041335d
No related branches found
No related tags found
1 merge request!941Resolve "Disable checking of IP address in gosdnc"
Pipeline #213607 passed
......@@ -61,10 +61,8 @@ func checkIPorHostnameAndPort(address string) error {
if ip2 == nil {
errorMessage := fmt.Sprintf("address '%s' is neither a valid IP nor a hostname", ipOrHostname)
return errors.New(errorMessage)
}
}
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment