mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add --connector switch, validation
This commit is contained in:
@@ -59,7 +59,7 @@ func getFactory(opts RuncOpts) (libcontainer.Factory, error) {
|
||||
return libcontainer.New(opts.root, cgroupManager, libcontainer.CriuPath("criu"))
|
||||
}
|
||||
|
||||
func NewRunc() *Runc {
|
||||
func NewRunc() Connector {
|
||||
opts, err := readRuncOpts()
|
||||
runcFailOnErr(err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user