loadFactory: remove

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2022-02-10 19:10:51 -08:00
parent d1fca8e599
commit 40b0088681
2 changed files with 5 additions and 10 deletions
+1 -2
View File
@@ -121,8 +121,7 @@ func getContainers(context *cli.Context) ([]containerState, error) {
// Report other errors, including non-existent custom --root.
return nil, err
}
factory, err := loadFactory(context)
factory, err := libcontainer.New(root)
if err != nil {
return nil, err
}