From f0243c1fde9ef1efad6409e458ce6b3c992e8e52 Mon Sep 17 00:00:00 2001 From: Hasty Granbery Date: Mon, 21 Oct 2024 07:52:28 -0700 Subject: [PATCH] Revert change to domain element in ZAP XML generation --- zap/generate/cluster.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zap/generate/cluster.go b/zap/generate/cluster.go index 9d344c5a..a4ba74c8 100644 --- a/zap/generate/cluster.go +++ b/zap/generate/cluster.go @@ -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