Skip to content

Commit

Permalink
rollback filter plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
IamLunchbox committed Nov 29, 2024
1 parent 5183f30 commit 72508cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/proxmox_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def check_general_backup_permission(self, permissions, pool):
def check_if_storage_exists(self, storage, node):
storages = self.get_storages(type=None)
# Loop through all cluster storages and get all matching storages
validated_storagepath = filter(lambda storageentry: storageentry["storage"] == storage, storages)
validated_storagepath = [storageentry for storageentry in storages if storageentry["storage"] == storage]
if not validated_storagepath:
self.module.fail_json(
changed=False,
Expand Down

0 comments on commit 72508cb

Please sign in to comment.