Skip the kernel after the end of retries
This commit is contained in:
parent
5bb79302dd
commit
caba73cd7e
@ -753,7 +753,9 @@ func generateKernels(km config.KernelMask, registry string,
|
|||||||
max--
|
max--
|
||||||
break
|
break
|
||||||
} else if attempt >= retries {
|
} else if attempt >= retries {
|
||||||
log.Fatal().Err(err).Msg("install kernel")
|
log.Error().Err(err).Msg("install kernel")
|
||||||
|
log.Debug().Msg("skip")
|
||||||
|
break
|
||||||
} else {
|
} else {
|
||||||
log.Warn().Err(err).Msg("install kernel")
|
log.Warn().Err(err).Msg("install kernel")
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
|
Loading…
Reference in New Issue
Block a user