Maintenance: unique choices from hardcoded servers

This commit is contained in:
Quentin McGaw
2021-02-26 13:21:55 +00:00
parent a10c4056d0
commit 92bcef0b1c
11 changed files with 60 additions and 66 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func VyprvpnRegionChoices() (choices []string) {
for i := range servers {
choices[i] = servers[i].Region
}
return choices
return makeUnique(choices)
}
func VyprvpnServers() []models.VyprvpnServer {