Merge pull request #1300 from cpuguy83/fix_bridge_ep_panic
Fix panic calling `ep` instead of `endpoint`
This commit is contained in:
commit
37d8df2b0b
1 changed files with 1 additions and 1 deletions
|
@ -1020,7 +1020,7 @@ func (d *driver) CreateEndpoint(nid, eid string, ifInfo driverapi.InterfaceInfo,
|
|||
}
|
||||
|
||||
if err = d.storeUpdate(endpoint); err != nil {
|
||||
return fmt.Errorf("failed to save bridge endpoint %s to store: %v", ep.id[0:7], err)
|
||||
return fmt.Errorf("failed to save bridge endpoint %s to store: %v", endpoint.id[0:7], err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue