Skip to content

Commit

Permalink
Fix deprecation warning on logger.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Mar 20, 2024
1 parent 281891c commit ed15526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubed/runtime/executors/lithops.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def map_unordered(
future, now, start_times[group_name], end_times[group_name]
):
input = future.input
logger.warn(f"Running backup task for {group_name} on {input}")
logger.warning(f"Running backup task for {group_name} on {input}")
futures = lithops_function_executor.map(
group_name_to_function[group_name],
[input],
Expand Down

0 comments on commit ed15526

Please sign in to comment.