Skip to content

Commit

Permalink
Fixed an issue with a string not using quotes and double quotes prope…
Browse files Browse the repository at this point in the history
…rly.
  • Loading branch information
kcantrel committed Nov 11, 2024
1 parent 382b164 commit 3099a30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def lambda_handler(event, context):
continue
#
# Get all the files in the volume that match the audit file pattern.
endpoint = f'https://{fsxn}/api/storage/volumes/{volumeUUID}/files?name=audit_{config['vserverName']}_D*&order_by=name%20asc&fields=name'
endpoint = f"https://{fsxn}/api/storage/volumes/{volumeUUID}/files?name=audit_{config['vserverName']}_D*&order_by=name%20asc&fields=name"
response = http.request('GET', endpoint, headers=headersQuery, timeout=5.0)
data = json.loads(response.data.decode('utf-8'))
for file in data['records']:
Expand Down

0 comments on commit 3099a30

Please sign in to comment.