1
0
This commit is contained in:
dump_stack() 2023-03-29 17:25:32 +00:00
parent 3aba883b81
commit 8d3986ce8e
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -568,7 +568,7 @@ func updateKernelsCfg(host, download bool) (err error) {
}
for _, d := range dockerImages {
err = genDockerKernels(d, &newkcfg, download)
err = listContainersKernels(d, &newkcfg, download)
if err != nil {
log.Print("gen kernels", d.ContainerName, ":", err)
continue
@ -605,7 +605,7 @@ func updateKernelsCfg(host, download bool) (err error) {
return
}
func genDockerKernels(dii dockerImageInfo, newkcfg *config.KernelConfig,
func listContainersKernels(dii dockerImageInfo, newkcfg *config.KernelConfig,
download bool) (err error) {
rootfs, err := genRootfsImage(dii, download)