Maint: remove NordVPN SERVER_NAME filter

- Filter was not effective
- Is to be deprecated in v4 anyway
- Bump NordVPN server model version to `3`
- Remove `Name` field from NordVPN server model
This commit is contained in:
Quentin McGaw (desktop)
2021-09-21 23:56:29 +00:00
parent 9a1d9c5d74
commit 6bcbaf085d
8 changed files with 3 additions and 5162 deletions

View File

@@ -25,11 +25,3 @@ func NordvpnHostnameChoices(servers []models.NordvpnServer) (choices []string) {
}
return makeUnique(choices)
}
func NordvpnNameChoices(servers []models.NordvpnServer) (choices []string) {
choices = make([]string, len(servers))
for i := range servers {
choices[i] = servers[i].Name
}
return makeUnique(choices)
}