delete TableObject.getSeverityColor to please CI

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
This commit is contained in:
Matthias Bertschy
2025-02-06 07:56:07 +01:00
parent 76b1ecb022
commit 1ffca5648e

View File

@@ -193,14 +193,3 @@ func (t TableObject) GetContent(i int) core.Row {
return r
}
func (t TableObject) getSeverityColor(severity string) *props.Color {
if severity == "Critical" {
return &props.Color{Red: 255, Green: 0, Blue: 0}
} else if severity == "High" {
return &props.Color{Red: 0, Green: 0, Blue: 255}
} else if severity == "Medium" {
return &props.Color{Red: 252, Green: 186, Blue: 3}
}
return &props.BlackColor
}