(c1, c2 traceql.Condition)
| 68 | } |
| 69 | |
| 70 | func operandsEqual(c1, c2 traceql.Condition) bool { |
| 71 | if len(c1.Operands) != len(c2.Operands) { |
| 72 | return false |
| 73 | } |
| 74 | |
| 75 | // todo: sort first? |
| 76 | for i := 0; i < len(c1.Operands); i++ { |
| 77 | if !c1.Operands[i].StrictEquals(&c2.Operands[i]) { |
| 78 | return false |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | return true |
| 83 | } |
no test coverage detected