Fixed a panic issue in clearNetworkResources
Not sure why govet didnt catch this obvious error Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
7c9afb0303
commit
093df0b922
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ func (sb *sandbox) clearNetworkResources(origEp *endpoint) error {
|
|||
ep := sb.getEndpoint(origEp.id)
|
||||
if ep == nil {
|
||||
return fmt.Errorf("could not find the sandbox endpoint data for endpoint %s",
|
||||
ep.name)
|
||||
origEp.id)
|
||||
}
|
||||
|
||||
sb.Lock()
|
||||
|
|
Loading…
Reference in a new issue