Skip to content

Commit

Permalink
Merge pull request #27 from EncoreTechnologies/update/api-filter-para…
Browse files Browse the repository at this point in the history
…m-changed

update/api-filter-param-changed
  • Loading branch information
bishopbm1 authored Sep 19, 2024
2 parents 24ab646 + 1de3b62 commit 0b6878d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/vm_get_by_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class VmGetByName(BaseAction):
def run(self, vm_name, open_nebula=None):
one = self.pyone_session_create(open_nebula)

filter = 'NAME=' + vm_name
filter = 'VM.NAME=' + vm_name
# More info on these params can be found here:
# https://docs.opennebula.io/6.8/integration_and_development/system_interfaces/api.html
vmpoolInfo = one.vmpool.infoextended(-2, -1, -1, -1, filter)
Expand Down

0 comments on commit 0b6878d

Please sign in to comment.