chore(updater): rename GetServers to FetchServers

This commit is contained in:
Quentin McGaw
2022-06-07 16:47:35 +00:00
parent 11e1c9f9bb
commit 79f213d97a
23 changed files with 26 additions and 26 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/qdm12/gluetun/internal/updater/openvpn"
)
func (u *Updater) GetServers(ctx context.Context, minServers int) (
func (u *Updater) FetchServers(ctx context.Context, minServers int) (
servers []models.Server, err error) {
const url = "https://support.vyprvpn.com/hc/article_attachments/360052617332/Vypr_OpenVPN_20200320.zip"
contents, err := u.unzipper.FetchAndExtract(ctx, url)