Skip to content

Commit 6078b3a

Browse files
committed
Fixed another typo.
1 parent a86185b commit 6078b3a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Management-Utilities/auto_set_fsxn_auto_grow/set_fsxn_volume_auto_grow.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import urllib3
2626
from urllib3.util import Retry
2727
import logging
28-
import botocore
2928
import boto3
3029
#
3130
# Create a table of secret names and keys for the username and password for each of the FSxIds.
@@ -142,9 +141,9 @@ def lambda_handler(event, context):
142141
volumeId = event['detail']['responseElements']['volume']['volumeId']
143142
volumeARN = event['detail']['responseElements']['volume']['resourceARN']
144143
if fsxId == "" or regionName == "" or volumeId == "" or volumeName == "" or volumeARN == "":
145-
message = f"Couldn't obtain the fsxId, region, volume name, volume ID or volume ARN from the CloudWatch evevnt."
144+
message = "Couldn't obtain the fsxId, region, volume name, volume ID or volume ARN from the CloudWatch evevnt."
146145
logger.critcal(message)
147-
raise Exception(mmessage)
146+
raise Exception(message)
148147

149148
logger.debug(f'Data from CloudWatch event: FSxID={fsxId}, Region={regionName}, VolumeName={volumeName}, volumeId={volumeId}.')
150149
#

0 commit comments

Comments
 (0)