fix(attestation): material annotations output#2502
Conversation
Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
|
Should we introduce new annotation for materials that use only one tool as well? |
|
Sorry I don't have enough context, what happened, what was lost? |
I've added new |
| if len(status.Material.Annotations) > 0 { | ||
| mt.AppendRow(table.Row{"Annotations", "------"}) | ||
| for _, a := range status.Material.Annotations { | ||
| if materials.IsLegacyAnnotation(a.Name) { |
There was a problem hiding this comment.
Please also remove this method, since it's not used anymore.
Do you mean in the command output? If the output is going to be duplicated, I don't think so. |
Fixed regression introduced in #2481 where legacy annotations were filtered out in
att addandatt status.