Fix bug in error reporting when adding duplicate properties

Bug: 150451422
Test: m nothing
Change-Id: Ia557992d71537aca0757866e9114b30bdf52bb6b
This commit is contained in:
Paul Duffin 2020-03-02 16:29:11 +00:00
parent 323a4c3ab3
commit 109c2add59
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func (s *bpPropertySet) init() {
func (s *bpPropertySet) AddProperty(name string, value interface{}) { func (s *bpPropertySet) AddProperty(name string, value interface{}) {
if s.properties[name] != nil { if s.properties[name] != nil {
panic("Property %q already exists in property set") panic(fmt.Sprintf("Property %q already exists in property set", name))
} }
s.properties[name] = value s.properties[name] = value