Merge pull request #1373 from moypray/minor

fix minor issue
This commit is contained in:
Mrunal Patel 2017-03-16 12:15:46 -07:00 committed by GitHub
commit c266f1470c
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func (v *veth) create(n *network, nspid int) (err error) {
netlink.LinkDel(veth)
}
}()
if err := v.attach(&n.Network); err != nil {
if err = v.attach(&n.Network); err != nil {
return err
}
child, err := netlink.LinkByName(n.TempVethPeerName)