1
0

refactor: move container functions to submodule

This commit is contained in:
2023-05-13 10:14:45 +00:00
parent 2c2435a7a5
commit ebc597ff0b
6 changed files with 246 additions and 227 deletions

View File

@ -23,6 +23,7 @@ import (
"github.com/alecthomas/kong"
"code.dumpstack.io/tools/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/container"
"code.dumpstack.io/tools/out-of-tree/fs"
)
@ -189,7 +190,7 @@ func main() {
cli.ContainerRuntime)
}
}
containerRuntime = cli.ContainerRuntime
container.Runtime = cli.ContainerRuntime
err = ctx.Run(&cli.Globals)
ctx.FatalIfErrorf(err)