(a Attribute)
| 119 | } |
| 120 | |
| 121 | func (f *FetchSpansRequest) HasAttribute(a Attribute) bool { |
| 122 | for _, cc := range f.Conditions { |
| 123 | if cc.Attribute == a { |
| 124 | return true |
| 125 | } |
| 126 | } |
| 127 | for _, cc := range f.SecondPassConditions { |
| 128 | if cc.Attribute == a { |
| 129 | return true |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | return false |
| 134 | } |
| 135 | |
| 136 | func (f *FetchSpansRequest) SecondPassHasAttribute(a Attribute) bool { |
| 137 | for _, cc := range f.SecondPassConditions { |
no outgoing calls
no test coverage detected