Skip to content

Commit

Permalink
chore: fix pep8 indentation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wenzel committed Jun 6, 2024
1 parent 81372a1 commit 9e6fe5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/proxmox_vm_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ def get_vms_from_nodes(self, cluster_machines, type, vmid=None, name=None, node=
desired_vm["config"] = call_vm_getter(this_vm_id).config().get(current=config_type)
if network:
if type == "qemu":
desired_vm["network"] = call_vm_getter(this_vm_id).agent("network-get-interfaces").get()['result']
desired_vm["network"] = call_vm_getter(this_vm_id).agent("network-get-interfaces").get()['result']
elif type == "lxc":
desired_vm["network"] = call_vm_getter(this_vm_id).interfaces.get()
desired_vm["network"] = call_vm_getter(this_vm_id).interfaces.get()

return filtered_vms

Expand Down

0 comments on commit 9e6fe5b

Please sign in to comment.