1
0
Fork 0
mirror of https://gitlab.com/pnx-tools/dns-updater.git synced 2026-06-16 05:54:56 +02:00

app/app.go: remove app.IPLookupService, not used.

This commit is contained in:
Henrik Hautakoski 2023-12-02 11:55:21 +01:00
parent 7e8ce30b87
commit 43705f81d1

View file

@ -13,9 +13,6 @@ import (
type App struct {
iplookup ip.NetInterfaceIPResolver
// Ip lookup service
IPLookupService resolver.Service
// Updater manager
ProviderManager *manager.Manager
}
@ -36,7 +33,6 @@ func NewApp(config *Config) (*App, error) {
return &App{
ProviderManager: providerMgr,
IPLookupService: resolver.Get(config.Services.IPLookup),
iplookup: ip.NewCache(resolver.LookupWrapper(l)).Get,
}, nil
}