From 8c7fe00182f8f914067bc7ce3e959f3a486cc5a3 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 21 Jun 2021 20:33:19 +0200 Subject: [PATCH] agent: Rename monkey_options to monkey_cmd_args --- monkey/infection_monkey/utils/commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monkey/infection_monkey/utils/commands.py b/monkey/infection_monkey/utils/commands.py index 5742389f0..77d385d74 100644 --- a/monkey/infection_monkey/utils/commands.py +++ b/monkey/infection_monkey/utils/commands.py @@ -53,13 +53,13 @@ def build_monkey_commandline_explicitly( return cmdline -def get_monkey_commandline_windows(destination_path: str, monkey_options: list) -> list: +def get_monkey_commandline_windows(destination_path: str, monkey_cmd_args: list) -> list: monkey_cmdline = [CMD_EXE, CMD_CARRY_OUT, destination_path, MONKEY_ARG] - return monkey_cmdline + monkey_options + return monkey_cmdline + monkey_cmd_args -def get_monkey_commandline_linux(destination_path: str, monkey_options: list) -> list: +def get_monkey_commandline_linux(destination_path: str, monkey_cmd_args: list) -> list: monkey_cmdline = [destination_path, MONKEY_ARG] - return monkey_cmdline + monkey_options + return monkey_cmdline + monkey_cmd_args