diff --git a/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py b/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py index ba6cd8903a..290a6e3084 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py +++ b/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py @@ -200,10 +200,7 @@ class ClusterCSVResourcesParser(ClusterCSVParser): """ def __init__(self, artifacts_path, columns=None): - if columns is None: - columns = ['USS(KB)', 'CPU(%)', 'FD'] - - self.columns = columns + self.columns = ['USS(KB)', 'CPU(%)', 'FD'] if columns is None else columns super().__init__(artifacts_path, files_to_load=['wazuh-clusterd', 'integrity_sync']) def _calculate_stats(self, df):