mirror of
https://github.com/qdm12/gluetun.git
synced 2026-07-26 04:16:23 +02:00
chore(updater): move updater packages to pkg/updaters/<name>
This commit is contained in:
@@ -6,8 +6,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/configuration/settings"
|
||||
"github.com/qdm12/gluetun/internal/constants"
|
||||
"github.com/qdm12/gluetun/internal/constants/vpn"
|
||||
"github.com/qdm12/gluetun/pkg/updaters/constants"
|
||||
)
|
||||
|
||||
func commaJoin(slice []string) string {
|
||||
@@ -147,7 +146,7 @@ func noServerFoundError(selection settings.ServerSelection) (err error) {
|
||||
}
|
||||
|
||||
targetIP := selection.OpenVPN.EndpointIP
|
||||
if selection.VPN == vpn.Wireguard {
|
||||
if selection.VPN == constants.Wireguard {
|
||||
targetIP = selection.Wireguard.EndpointIP
|
||||
}
|
||||
if targetIP.IsValid() {
|
||||
|
||||
Reference in New Issue
Block a user