1
0

refactor: use the same name as in config

This commit is contained in:
2023-05-18 18:27:51 +00:00
parent 6385ce92e3
commit d551cc8fc4
15 changed files with 46 additions and 46 deletions

View File

@ -101,11 +101,11 @@ func buildPreload(workPath, tmp string, ki config.KernelInfo,
ka.SourcePath = workPath
km := config.KernelMask{
km := config.Target{
Distro: ki.Distro,
ReleaseMask: ki.KernelRelease,
}
ka.Targets = []config.KernelMask{km}
ka.Targets = []config.Target{km}
if ka.Docker.Timeout.Duration != 0 {
dockerTimeout = ka.Docker.Timeout.Duration