1
0
Fork 0

fix: search in source volumes not destination ones

timestamps
dump_stack() 2023-05-23 09:34:29 +00:00
parent 14320faca8
commit ff7bed76f2
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 2 additions and 2 deletions

View File

@ -416,9 +416,9 @@ func listContainersKernels(dii container.Image, newkcfg *config.KernelConfig,
for _, volume := range c.Volumes {
switch volume.Dest {
case "/lib/modules":
libmodules = volume.Dest
libmodules = volume.Src
case "/boot":
boot = volume.Dest
boot = volume.Src
}
}