Remove PIA v3 servers support

This commit is contained in:
Quentin McGaw
2020-11-05 02:10:34 +00:00
parent 31883f9adb
commit a7a7efe9c3
21 changed files with 9 additions and 460 deletions

View File

@@ -90,16 +90,6 @@ func (u *updater) UpdateServers(ctx context.Context) (allServers models.AllServe
}
}
if u.options.PIAold {
u.logger.Info("updating Private Internet Access old (v3) servers...")
if err := u.updatePIAOld(ctx); err != nil {
if ctxErr := ctx.Err(); ctxErr != nil {
return allServers, ctxErr
}
u.logger.Error(err)
}
}
if u.options.Purevpn {
u.logger.Info("updating PureVPN servers...")
// TODO support servers offering only TCP or only UDP