diff --git a/monkey/infection_monkey/utils/aws_environment_check.py b/monkey/infection_monkey/utils/aws_environment_check.py index 31ff40186..aa60e0a55 100644 --- a/monkey/infection_monkey/utils/aws_environment_check.py +++ b/monkey/infection_monkey/utils/aws_environment_check.py @@ -29,6 +29,6 @@ def _report_aws_environment(telemetry_messenger: LegacyTelemetryMessengerAdapter def run_aws_environment_check(telemetry_messenger: LegacyTelemetryMessengerAdapter): logger.info("AWS environment check initiated.") aws_environment_thread = create_daemon_thread( - target=_report_aws_environment, args=(telemetry_messenger,) + target=_report_aws_environment, name="AWSEnvironmentThread", args=(telemetry_messenger,) ) aws_environment_thread.start()