From cd329461fc8e179bb342c195839c59ab9ab4ebfe Mon Sep 17 00:00:00 2001 From: Peter Alfonsi Date: Tue, 6 Feb 2024 14:37:01 -0800 Subject: [PATCH] Fixed linter complaints Signed-off-by: Peter Alfonsi --- osbenchmark/workload/loader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osbenchmark/workload/loader.py b/osbenchmark/workload/loader.py index 68ee1af4c..62fd86ccd 100644 --- a/osbenchmark/workload/loader.py +++ b/osbenchmark/workload/loader.py @@ -1086,9 +1086,9 @@ def on_after_load_workload(self, input_workload, **kwargs): op_type = workload.OperationType.from_hyphenated_string(leaf_task.operation.type) except KeyError: op_type = None - self.logger.warn( - f"QueryRandomizerWorkloadProcessor found operation {leaf_task.operation.name} in default schedule" - f" with type {leaf_task.operation.type}, which couldn't be converted to a known OperationType") + self.logger.info( + "Found operation %s in default schedule with type %s, which couldn't be converted to a known OperationType", + leaf_task.operation.name, leaf_task.operation.type) if op_type == workload.OperationType.Search: op_name = leaf_task.operation.name param_source_name = op_name + "-randomized"