mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-20 02:14:08 +02:00
chore(updater): move updater packages to pkg/updaters/<name>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/qdm12/gluetun/internal/constants/providers"
|
||||
"github.com/qdm12/gluetun/internal/provider/common"
|
||||
"github.com/qdm12/gluetun/internal/provider/privateinternetaccess/updater"
|
||||
"github.com/qdm12/gluetun/pkg/updaters/privateinternetaccess"
|
||||
)
|
||||
|
||||
type Provider struct {
|
||||
@@ -30,7 +30,7 @@ func New(storage common.Storage, randSource rand.Source,
|
||||
timeNow: timeNow,
|
||||
randSource: randSource,
|
||||
portForwardPath: jsonPortForwardPath,
|
||||
Fetcher: updater.New(client),
|
||||
Fetcher: privateinternetaccess.New(client),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user