return BootConfig prepare err

This commit is contained in:
Moss 2020-06-12 14:22:00 +02:00
parent 653eb95bdb
commit 45058847c0
1 changed files with 1 additions and 6 deletions

View File

@ -25,15 +25,10 @@ type bootCommandTemplateData struct {
}
func (c *BootConfig) Prepare(ctx *interpolate.Context) []error {
var errs []error
if c.BootWait == 0 {
c.BootWait = 10 * time.Second
}
c.BootConfig.Prepare(ctx)
return errs
return c.BootConfig.Prepare(ctx)
}
type StepBootCommand struct {