1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/cloud/opennebula
Georg Gadinger b429c520f5
opennebula: fix error message when renaming an image (#3626)
While porting this module to make use of `pyone` I have overlooked one
attribute.  Luckily the error only occurs when trying to rename an image
to a name that has already been taken.

Instead of telling the user which image ID already uses that name, the
module failed with the following error (along with a huge backtrace):

    AttributeError: 'IMAGESub' object has no attribute 'id'

With this commit the error message is much more obvous again.
2021-10-31 18:37:34 +01:00
..
one_host.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
one_image.py opennebula: fix error message when renaming an image (#3626) 2021-10-31 18:37:34 +01:00
one_image_info.py Remove deprecated modules scheduled for removal in 3.0.0 (#1924) 2021-04-13 11:19:25 +00:00
one_service.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
one_template.py Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
one_vm.py OpenNebula one_vm.py: Fix missing keys (#2435) 2021-05-04 12:21:55 +02:00