Merge pull request #524 from endocode/alban/netns-error

net: fix error management
This commit is contained in:
Jonathan Boulle
2015-02-13 09:15:32 -08:00
-4
View File
@@ -89,10 +89,6 @@ func Setup(rktRoot string, contID types.UUID) (*Networking, error) {
}
n.contNSPath = filepath.Join(contNSPath, "net")
if err != nil {
return nil, fmt.Errorf("error loading plugin definitions: %v", err)
}
nets, err := n.loadNets()
if err != nil {
return nil, fmt.Errorf("error loading network definitions: %v", err)