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 {
|
type App struct {
|
||||||
iplookup ip.NetInterfaceIPResolver
|
iplookup ip.NetInterfaceIPResolver
|
||||||
|
|
||||||
// Ip lookup service
|
|
||||||
IPLookupService resolver.Service
|
|
||||||
|
|
||||||
// Updater manager
|
// Updater manager
|
||||||
ProviderManager *manager.Manager
|
ProviderManager *manager.Manager
|
||||||
}
|
}
|
||||||
|
|
@ -36,7 +33,6 @@ func NewApp(config *Config) (*App, error) {
|
||||||
|
|
||||||
return &App{
|
return &App{
|
||||||
ProviderManager: providerMgr,
|
ProviderManager: providerMgr,
|
||||||
IPLookupService: resolver.Get(config.Services.IPLookup),
|
|
||||||
iplookup: ip.NewCache(resolver.LookupWrapper(l)).Get,
|
iplookup: ip.NewCache(resolver.LookupWrapper(l)).Get,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue