-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[proxmox_vm_info] Return empty list when requested VM doesn't exist #7049
[proxmox_vm_info] Return empty list when requested VM doesn't exist #7049
Conversation
@felixfontein can you please re-review the PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, it was still in my line of "PRs to look at" tabs I haven't gotten to yet...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the below: are you happy with the current version? If yes, I'll merge it.
Co-authored-by: Felix Fontein <felix@fontein.de>
Yes. Hope it will be the last iteration for that module. |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7079 🤖 @patchback |
@UnderGreen thanks for your contribution! |
…7049) * [proxmox_vm_info] Return empty list when requested VM doesn't exist * Update documentation * Add changelog fragment * Address review comments * Allow to filter by empty name * Update plugins/modules/proxmox_vm_info.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 2089769)
… list when requested VM doesn't exist (#7079) [proxmox_vm_info] Return empty list when requested VM doesn't exist (#7049) * [proxmox_vm_info] Return empty list when requested VM doesn't exist * Update documentation * Add changelog fragment * Address review comments * Allow to filter by empty name * Update plugins/modules/proxmox_vm_info.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 2089769) Co-authored-by: Sergei Antipov <greendayonfire@gmail.com>
SUMMARY
Instead of failing when VM with provided name/vmid doesn't exist the module should have empty response. Than allows the workflows with checking VM existence.
ISSUE TYPE
COMPONENT NAME
proxmox_vm_info
ADDITIONAL INFORMATION