WithMessage adds a message to an existing finding. No copy is made.
(text string)
| 179 | // WithMessage adds a message to an existing finding. |
| 180 | // No copy is made. |
| 181 | func (f *Finding) WithMessage(text string) *Finding { |
| 182 | f.Message = text |
| 183 | return f |
| 184 | } |
| 185 | |
| 186 | // UniqueProbesEqual checks the probe names present in a list of findings |
| 187 | // and compare them against an expected list. |
no outgoing calls