chore(updater): move updater packages to pkg/updaters/<name>

This commit is contained in:
Quentin McGaw
2026-04-23 03:47:57 +00:00
parent 628b0a22e2
commit d96752c734
164 changed files with 732 additions and 343 deletions
@@ -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),
}
}