chore(updater): common GetServers signature
- Log warnings when running outside of CLI mode - Remove updater CLI bool setting - Warnings are logged in updating functions
This commit is contained in:
13
internal/provider/cyberghost/updater/updater.go
Normal file
13
internal/provider/cyberghost/updater/updater.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package cyberghost
|
||||
|
||||
import "github.com/qdm12/gluetun/internal/updater/resolver"
|
||||
|
||||
type Updater struct {
|
||||
presolver resolver.Parallel
|
||||
}
|
||||
|
||||
func New(presolver resolver.Parallel) *Updater {
|
||||
return &Updater{
|
||||
presolver: presolver,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user