Minor changes

This commit is contained in:
Quentin McGaw
2020-03-23 20:37:56 +00:00
parent 9435db8e1e
commit e334cf6c5f
5 changed files with 5 additions and 9 deletions

View File

@@ -22,9 +22,6 @@ func (c *configurator) GetOpenVPNConnections(region models.PIARegion, protocol m
if len(subdomain) == 0 {
return nil, fmt.Errorf("region %q has no associated PIA subdomain", region)
}
if err != nil {
return nil, err
}
hostname := subdomain + ".privateinternetaccess.com"
IPs, err := c.lookupIP(hostname)
if err != nil {