Skip to content

Commit

Permalink
few straggling comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames committed Mar 14, 2024
1 parent bde228e commit 8fd0d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ottl/ottlfuncs/func_parse_xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type xmlElement struct {
children []xmlElement
}

// UnmarshalXML implements xml.Unmarshaler for anyXML
// UnmarshalXML implements xml.Unmarshaler for xmlElement
func (a *xmlElement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
a.tag = start.Name.Local
a.attributes = start.Attr
Expand Down Expand Up @@ -104,7 +104,7 @@ func (a *xmlElement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
}
}

// intoMap converts and adds the anyXML into the provided pcommon.Map.
// intoMap converts and adds the xmlElement into the provided pcommon.Map.
func (a xmlElement) intoMap(m pcommon.Map) {
m.EnsureCapacity(4)

Expand Down

0 comments on commit 8fd0d3f

Please sign in to comment.