Merge pull request #653 from jfrazelle/remove-deadcode

remove deadcode
This commit is contained in:
Mrunal Patel
2016-03-17 16:50:45 -07:00
7 changed files with 3 additions and 47 deletions
-9
View File
@@ -139,15 +139,6 @@ var (
var container libcontainer.Container
func containerPreload(context *cli.Context) error {
c, err := getContainer(context)
if err != nil {
return err
}
container = c
return nil
}
// loadFactory returns the configured factory instance for execing containers.
func loadFactory(context *cli.Context) (libcontainer.Factory, error) {
root := context.GlobalString("root")