typofix in comment

pull/5228/head
Marcin Niemira 2019-08-30 07:54:32 +10:00
parent f62fabce4c
commit fa9ddcd7f1
No known key found for this signature in database
GPG Key ID: 5395D4A81A3FA475
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func isInBlock(ip string, block string) (bool, error) {
return false, errors.Wrapf(err, "Error ip not in block") return false, errors.Wrapf(err, "Error ip not in block")
} }
// ExcludeIP takes ip or CIDR as string and excludes the it from the http(s)_proxy // ExcludeIP takes ip or CIDR as string and excludes it from the http(s)_proxy
func ExcludeIP(ip string) error { func ExcludeIP(ip string) error {
if netIP := net.ParseIP(ip); netIP == nil { if netIP := net.ParseIP(ip); netIP == nil {
if _, _, err := net.ParseCIDR(ip); err != nil { if _, _, err := net.ParseCIDR(ip); err != nil {