return BootConfig prepare err
This commit is contained in:
parent
653eb95bdb
commit
45058847c0
|
@ -25,15 +25,10 @@ type bootCommandTemplateData struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *BootConfig) Prepare(ctx *interpolate.Context) []error {
|
func (c *BootConfig) Prepare(ctx *interpolate.Context) []error {
|
||||||
var errs []error
|
|
||||||
|
|
||||||
if c.BootWait == 0 {
|
if c.BootWait == 0 {
|
||||||
c.BootWait = 10 * time.Second
|
c.BootWait = 10 * time.Second
|
||||||
}
|
}
|
||||||
|
return c.BootConfig.Prepare(ctx)
|
||||||
c.BootConfig.Prepare(ctx)
|
|
||||||
|
|
||||||
return errs
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type StepBootCommand struct {
|
type StepBootCommand struct {
|
||||||
|
|
Loading…
Reference in New Issue