diff options
| author | Robusta Runner <aantny@gmail.com> | 2024-03-27 05:57:46 +0200 |
|---|---|---|
| committer | Robusta Runner <aantny@gmail.com> | 2024-03-27 05:57:46 +0200 |
| commit | 9fc5752297567790563ce1cd6e8f0212756a9373 (patch) | |
| tree | 1004f4d2af82fba09748a031de5a72d50cfed9e1 /robusta_krr | |
| parent | 9cd2edec3e39fb1d2308717ab96187a6b7a36022 (diff) | |
bugfix for --show-cluster-name flag
Diffstat (limited to 'robusta_krr')
| -rw-r--r-- | robusta_krr/formatters/table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/robusta_krr/formatters/table.py b/robusta_krr/formatters/table.py index 2cd8bbb..3d20b8e 100644 --- a/robusta_krr/formatters/table.py +++ b/robusta_krr/formatters/table.py @@ -110,7 +110,7 @@ def table(result: Result) -> Table: full_info_row = j == 0 cells: list[Any] = [f"[{item.severity.color}]{i + 1}.[/{item.severity.color}]"] - if cluster_count > 1: + if cluster_count > 1 or settings.show_cluster_name: cells.append(item.object.cluster if full_info_row else "") cells += [ item.object.namespace if full_info_row else "", |
