mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
builder: set exernalkey option for faster hook processing
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
852542b397
commit
1ad272c7e4
1 changed files with 2 additions and 2 deletions
|
@ -63,13 +63,13 @@ func (iface *lnInterface) init(c libnetwork.NetworkController, n libnetwork.Netw
|
|||
defer close(iface.ready)
|
||||
id := identity.NewID()
|
||||
|
||||
ep, err := n.CreateEndpoint(id)
|
||||
ep, err := n.CreateEndpoint(id, libnetwork.CreateOptionDisableResolution())
|
||||
if err != nil {
|
||||
iface.err = err
|
||||
return
|
||||
}
|
||||
|
||||
sbx, err := c.NewSandbox(id)
|
||||
sbx, err := c.NewSandbox(id, libnetwork.OptionUseExternalKey())
|
||||
if err != nil {
|
||||
iface.err = err
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue