weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Remove repeat errors

Open bia opened this issue 3 years ago • 0 comments

Describe the bug

From my slack conversation with @luizbafilho, there is an issue with how k8s reports certain errors. it errors out on two versions of the same crd, ideally they would report something like trafficsplits.split.smi-spec.io/v1beta1 and trafficsplits.split.smi-spec.io/v1beta2 but they ignore the crd version.

In order to avoid this case (and similar ones) we should string-match the error output and only display one if they are identical.

image

Environment

https://gitops.euw1.wego-gke.weave.works/applications

bia avatar Aug 10 '22 15:08 bia