1
0
Fork 0

fix: do not reimport existing containers

timestamps
dump_stack() 2024-02-21 16:15:38 +00:00
parent 8a5971379a
commit 86213c171a
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ func (cmd *KernelCmd) Generate(g *Globals, km artifact.Target) (err error) {
return
}
if cmd.ContainerCache {
if !c.Exist() && cmd.ContainerCache {
path := cache.ContainerURL(c.Name())
err = container.Import(path, c.Name())
if err != nil {