Fix panic calling ep
instead of endpoint
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
3bcffc0c02
commit
3925ea0a2d
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