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:
parent
7e8ce30b87
commit
43705f81d1
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue