Update comments to clarify label formatting method

Signed-off-by: Aditya Tiwari <142050150+ADITYATIWARI342005@users.noreply.github.com>
This commit is contained in:
Aditya Tiwari 2025-12-15 18:25:09 +05:30 committed by ADITYA TIWARI
parent 2e4f5e8cfc
commit 301b9eff44

View file

@ -155,7 +155,7 @@ func (node *BinaryExpr) getMatchingStr() string {
if vm.On {
vmTag = "on"
}
// Use writeLabels() instead of joinLabels()
// Format labels with proper UTF-8 quoting using writeLabels()
b.Reset()
b.WriteString(" ")
b.WriteString(vmTag)
@ -170,7 +170,7 @@ func (node *BinaryExpr) getMatchingStr() string {
if vm.Card == CardManyToOne {
vmCard = "left"
}
// Use writeLabels() instead of joinLabels()
// Format labels with proper UTF-8 quoting using writeLabels()
b.Reset()
b.WriteString(" group_")
b.WriteString(vmCard)