chore(protonvpn): document to remove SERVER_NAMES
This commit is contained in:
@@ -99,7 +99,7 @@ ENV VPN_SERVICE_PROVIDER=pia \
|
||||
OPENVPN_CLIENTKEY_SECRETFILE=/run/secrets/openvpn_clientkey \
|
||||
# # Nordvpn only:
|
||||
SERVER_NUMBER= \
|
||||
# # PIA and ProtonVPN only:
|
||||
# # PIA only:
|
||||
SERVER_NAMES= \
|
||||
# # ProtonVPN only:
|
||||
FREE_ONLY= \
|
||||
|
||||
@@ -35,6 +35,8 @@ func (u *Updater) FetchServers(ctx context.Context, minServers int) (
|
||||
for _, logicalServer := range data.LogicalServers {
|
||||
region := getStringValue(logicalServer.Region)
|
||||
city := getStringValue(logicalServer.City)
|
||||
// TODO v4 remove `name` field because of
|
||||
// https://github.com/qdm12/gluetun/issues/1018#issuecomment-1151750179
|
||||
name := logicalServer.Name
|
||||
for _, physicalServer := range logicalServer.Servers {
|
||||
if physicalServer.Status == 0 { // disabled so skip server
|
||||
|
||||
Reference in New Issue
Block a user