From c669d092d5e77740159358c59473ba3a671e5cf4 Mon Sep 17 00:00:00 2001 From: Dror Levy Date: Wed, 4 Dec 2024 07:43:18 +0200 Subject: [PATCH] fix comments --- .../loganalyze/log_analyzers/ibdiagnet_log_analyzer.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet_log_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet_log_analyzer.py index d90cd951..1e03e2e7 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet_log_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet_log_analyzer.py @@ -20,10 +20,7 @@ class IBDIAGNETLogAnalyzer(BaseAnalyzer): def __init__(self, logs_csvs: List[str], hours: int, dest_image_path): super().__init__(logs_csvs, hours, dest_image_path, sort_timestamp=False) - self._funcs_for_analysis = { - self.save_fabric_size, - self.print_fabric_size, - } + self._funcs_for_analysis = {self.save_fabric_size} def print_fabric_size(self): fabric_info = self.get_fabric_size() @@ -35,3 +32,7 @@ def get_fabric_size(self): def save_fabric_size(self): fabric_info = self.get_fabric_size() self._dataframes_for_pdf.append(("Fabric info", fabric_info)) + + def full_analysis(self): + super().full_analysis() + self.print_fabric_size()