CreateModule also inherits variableProperties.
Bug: N/A Test: manual Change-Id: Ic5ecbeac04841d4016c0caa8710a6adae1ec2bd6
This commit is contained in:
parent
2895bf7182
commit
349cd474ef
1 changed files with 2 additions and 2 deletions
|
@ -244,8 +244,8 @@ func (t *topDownMutatorContext) Rename(name string) {
|
|||
}
|
||||
|
||||
func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) {
|
||||
common := []interface{}{&t.Module().base().commonProperties}
|
||||
t.bp.CreateModule(factory, append(common, props...)...)
|
||||
inherited := []interface{}{&t.Module().base().commonProperties, &t.Module().base().variableProperties}
|
||||
t.bp.CreateModule(factory, append(inherited, props...)...)
|
||||
}
|
||||
|
||||
func (b *bottomUpMutatorContext) MutatorName() string {
|
||||
|
|
Loading…
Reference in a new issue