Panic if soongConfig and productConfig values do not match
Merging is not supported yet, but we do not need to panic if both of them have the same value. Test: m nothing Change-Id: Ie292173d549347164f0d8ad2c04963b97eefe4df
This commit is contained in:
@@ -734,7 +734,9 @@ func (p *ProductConfigProperties) AddEitherProperty(
|
||||
dst = append(dst, src...)
|
||||
(*p)[propertyName][key] = dst
|
||||
default:
|
||||
panic(fmt.Errorf("TODO: handle merging value %#v", existing))
|
||||
if existing != propertyValue {
|
||||
panic(fmt.Errorf("TODO: handle merging value %#v", existing))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
(*p)[propertyName][key] = propertyValue
|
||||
|
Reference in New Issue
Block a user