Skip to content

Commit 3099a30

Browse files
committed
Fixed an issue with a string not using quotes and double quotes properly.
1 parent 382b164 commit 3099a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Monitoring/ingest_nas_audit_logs_into_cloudwatch/ingest_audit_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def lambda_handler(event, context):
348348
continue
349349
#
350350
# Get all the files in the volume that match the audit file pattern.
351-
endpoint = f'https://{fsxn}/api/storage/volumes/{volumeUUID}/files?name=audit_{config['vserverName']}_D*&order_by=name%20asc&fields=name'
351+
endpoint = f"https://{fsxn}/api/storage/volumes/{volumeUUID}/files?name=audit_{config['vserverName']}_D*&order_by=name%20asc&fields=name"
352352
response = http.request('GET', endpoint, headers=headersQuery, timeout=5.0)
353353
data = json.loads(response.data.decode('utf-8'))
354354
for file in data['records']:

0 commit comments

Comments
 (0)