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
This commit is part of merge request !941. Comments created here will be created in the context of that merge request.
...@@ -61,10 +61,8 @@ func checkIPorHostnameAndPort(address string) error { ...@@ -61,10 +61,8 @@ func checkIPorHostnameAndPort(address string) error {
if ip2 == nil { if ip2 == nil {
errorMessage := fmt.Sprintf("address '%s' is neither a valid IP nor a hostname", ipOrHostname) errorMessage := fmt.Sprintf("address '%s' is neither a valid IP nor a hostname", ipOrHostname)
return errors.New(errorMessage) return errors.New(errorMessage)
} }
} }
return nil return nil
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment