1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
Signed-off-by: Wang Yumu <37442693@qq.com>
This commit is contained in:
Wang Yumu 2020-03-18 00:09:10 +08:00
parent e8d86036c1
commit 4dda50d226

View file

@ -35,7 +35,10 @@ func Init(ic ipamapi.Callback, l, g interface{}) error {
}
}
ipamutils.ConfigLocalScopeDefaultNetworks(GetDefaultIPAddressPool())
err := ipamutils.ConfigLocalScopeDefaultNetworks(GetDefaultIPAddressPool())
if err != nil {
return err
}
a, err := ipam.NewAllocator(localDs, globalDs)
if err != nil {