add ommited struct interpolation

after dcc22df609
This commit is contained in:
Adrien Delorme 2019-08-27 15:17:57 +02:00
parent b3cdf2ac8f
commit 9d0bc476d9
2 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,8 @@ func (b *BlockDevice) Prepare(ctx *interpolate.Context) error {
"true` when setting a kms_key_id.", b.DeviceName)
}
return nil
_, err = interpolate.RenderInterface(&b, ctx)
return err
}
func (bds BlockDevices) Prepare(ctx *interpolate.Context) (errs []error) {

View File

@ -133,7 +133,8 @@ func (b *BlockDevice) Prepare(ctx *interpolate.Context) error {
"true` when setting a kms_key_id.", b.DeviceName)
}
return nil
_, err := interpolate.RenderInterface(&b, ctx)
return err
}
func (bds BlockDevices) Prepare(ctx *interpolate.Context) (errs []error) {