Maintenance: unique choices from hardcoded servers
This commit is contained in:
@@ -17,7 +17,7 @@ func PrivadoHostnameChoices() (choices []string) {
|
||||
for i := range servers {
|
||||
choices[i] = servers[i].Hostname
|
||||
}
|
||||
return choices
|
||||
return makeUnique(choices)
|
||||
}
|
||||
|
||||
func PrivadoServers() []models.PrivadoServer {
|
||||
|
||||
Reference in New Issue
Block a user