diff --git a/libnetwork/sandbox.go b/libnetwork/sandbox.go index e0275383cf..4771053c36 100644 --- a/libnetwork/sandbox.go +++ b/libnetwork/sandbox.go @@ -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()