Skip to content

Commit 929b8b7

Browse files
committed
Fix
1 parent 7cbc267 commit 929b8b7

File tree

1 file changed

+3
-3
lines changed
  • aws_sra_examples/solutions/patch_mgmt/patch_mgmt_org/lambda/src

1 file changed

+3
-3
lines changed

aws_sra_examples/solutions/patch_mgmt/patch_mgmt_org/lambda/src/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def define_mw_targets(params: dict, win1_id_resp: list, win2_id_resp: list, win3
177177
target_description = params.get("TARGET1_DESCRIPTION", "")
178178
target_key_value_1 = params.get("TARGET1_VALUE_1", "")
179179
target_key_value_2 = params.get("TARGET1_VALUE_2", "")
180-
LOGGER.info(f"About to register target in {response['region']} for window ID {response["window1Id"]} with name {target_name}")
180+
LOGGER.info(f"About to register target in {response['region']} for window ID {response['window1Id']} with name {target_name}")
181181
maintenance_window_targets = ssmclient.register_target_with_maintenance_window(
182182
Name=target_name,
183183
Description=target_description,
@@ -208,7 +208,7 @@ def define_mw_targets(params: dict, win1_id_resp: list, win2_id_resp: list, win3
208208
target_name = params.get("TARGET2_NAME", "")
209209
target_description = params.get("TARGET2_DESCRIPTION", "")
210210
target_key_value_1 = params.get("TARGET2_VALUE_1", "")
211-
LOGGER.info(f"About to register target in {response['region']} for window ID {response["window2Id"]} with name {target_name}")
211+
LOGGER.info(f"About to register target in {response['region']} for window ID {response['window2Id']} with name {target_name}")
212212

213213
maintenance_window_targets = ssmclient.register_target_with_maintenance_window(
214214
Name=target_name,
@@ -236,7 +236,7 @@ def define_mw_targets(params: dict, win1_id_resp: list, win2_id_resp: list, win3
236236
target_description = params.get("TARGET3_DESCRIPTION", "")
237237
target_key_value_1 = params.get("TARGET3_VALUE_1", "")
238238
ssmclient = session.client("ssm", region_name=response["region"], config=boto3_config)
239-
LOGGER.info(f"About to register target in {response['region']} for window ID {response["window3Id"]} with name {target_name}")
239+
LOGGER.info(f"About to register target in {response['region']} for window ID {response['window3Id']} with name {target_name}")
240240

241241
maintenance_window_targets = ssmclient.register_target_with_maintenance_window(
242242
Name=target_name,

0 commit comments

Comments
 (0)