From 8358253fc76bdb92bd9981e45022f10000b062f3 Mon Sep 17 00:00:00 2001 From: vakaris_zilius Date: Wed, 22 Jun 2022 13:14:24 +0000 Subject: [PATCH] Agent: Rename depth to current_depth in propagation.py --- monkey/infection_monkey/utils/propagation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/utils/propagation.py b/monkey/infection_monkey/utils/propagation.py index ed9567c26..004bafdd2 100644 --- a/monkey/infection_monkey/utils/propagation.py +++ b/monkey/infection_monkey/utils/propagation.py @@ -1,2 +1,2 @@ -def should_propagate(config: dict, depth: int) -> bool: - return config["config"]["depth"] > depth +def should_propagate(config: dict, current_depth: int) -> bool: + return config["config"]["depth"] > current_depth