chore: there's no need to use fmt.Sprintf

This commit is contained in:
guoguangwu
2023-07-24 13:44:22 +08:00
parent e1d7466889
commit acdec619fe

View File

@@ -268,7 +268,7 @@ func (n *Node) GetFilter(outgoingEdges []DagEdge) string {
if v != "" {
args = append(args, fmt.Sprintf("%s=%s", k, v))
} else {
args = append(args, fmt.Sprintf("%s", k))
args = append(args, k)
}
}
ret = escapeChars(n.name, "\\'=:")