Refactor
This commit is contained in:
parent
bd3aa5e948
commit
0f21902ffd
11 changed files with 96 additions and 80 deletions
|
|
@ -33,7 +33,7 @@ func NewApp(config *Config) (*App, error) {
|
|||
|
||||
return &App{
|
||||
ProviderManager: providerMgr,
|
||||
iplookup: ip.NewCache(resolver.LookupWrapper(l)).Get,
|
||||
iplookup: ip.NewCache(ip.LookupWrapper(l)).Get,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue