Skip to content

Commit 5081ee1

Browse files
committed
Merge pull request #987 from mavenugo/cnr
Fixed a panic issue in clearNetworkResources
2 parents 184d2a0 + 3cf00f9 commit 5081ee1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sandbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ func (sb *sandbox) clearNetworkResources(origEp *endpoint) error {
650650
ep := sb.getEndpoint(origEp.id)
651651
if ep == nil {
652652
return fmt.Errorf("could not find the sandbox endpoint data for endpoint %s",
653-
ep.name)
653+
origEp.id)
654654
}
655655

656656
sb.Lock()

0 commit comments

Comments
 (0)