Skip to content

Commit

Permalink
Merge pull request #12 from project-chip/hotfix/domain_name
Browse files Browse the repository at this point in the history
Revert change to domain element in ZAP XML generation
  • Loading branch information
hasty authored Oct 21, 2024
2 parents d3009c0 + f0243c1 commit ceb3f36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zap/generate/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ func (tg *TemplateGenerator) populateCluster(configurator *zap.Configurator, cle
commands[c] = []*matter.Number{}
}

de := xml.SetOrCreateSimpleElement(cle, "domain", "")
de.CreateAttr("name", matter.DomainNames[configurator.Doc.Domain])
de.SetText("")
xml.SetOrCreateSimpleElement(cle, "domain", matter.DomainNames[configurator.Doc.Domain])
clusterName := cluster.Name
if errata.ClusterName != "" {
clusterName = errata.ClusterName
Expand Down

0 comments on commit ceb3f36

Please sign in to comment.