Merge "Use Module.GetProperties() instead of ModuleBase.generalProperties"

This commit is contained in:
Treehugger Robot
2022-01-10 08:49:17 +00:00
committed by Gerrit Code Review
10 changed files with 13 additions and 28 deletions

View File

@@ -1031,7 +1031,7 @@ func (m *ModuleBase) setVariableProperties(ctx BottomUpMutatorContext,
printfIntoProperties(ctx, prefix, productVariablePropertyValue, variableValue)
err := proptools.AppendMatchingProperties(m.generalProperties,
err := proptools.AppendMatchingProperties(m.GetProperties(),
productVariablePropertyValue.Addr().Interface(), nil)
if err != nil {
if propertyErr, ok := err.(*proptools.ExtendPropertyError); ok {