Skip to content

Commit

Permalink
Fix folder search filter
Browse files Browse the repository at this point in the history
This PR fixes issue introduced by:
#79

Params get used wrong brackets. It should use brackets to acces funtion,
not array.

Signed-off-by: Ondra Machacek <[email protected]>
  • Loading branch information
machacekondra committed Mar 15, 2024
1 parent f32c824 commit 74b9f15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def _{{ operation }}(params, session):
{% if name in ["vcenter_host", "vcenter_datacenter"] %}
if "folder" not in params:
return
search_filter = f"&folders={params.get['folder']}"
search_filter = f"&folders={params.get('folder')}"
{% endif %}
if "name" not in params:
return
Expand Down

0 comments on commit 74b9f15

Please sign in to comment.