Skip to content

Commit c651512

Browse files
committed
Revert "fix minor issue"
This reverts commit d4091ef. d4091ef ("fix minor issue") doesn't actually make any sense, and actually makes the code more confusing. Signed-off-by: Aleksa Sarai <[email protected]>
1 parent d270940 commit c651512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcontainer/network_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (v *veth) create(n *network, nspid int) (err error) {
171171
netlink.LinkDel(veth)
172172
}
173173
}()
174-
if err = v.attach(&n.Network); err != nil {
174+
if err := v.attach(&n.Network); err != nil {
175175
return err
176176
}
177177
child, err := netlink.LinkByName(n.TempVethPeerName)

0 commit comments

Comments
 (0)