mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
739719a3b1
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.
(cherry picked from commit
|
||
---|---|---|
.. | ||
action | ||
become | ||
cache | ||
callback | ||
connection | ||
doc_fragments | ||
filter | ||
inventory | ||
lookup | ||
module_utils | ||
modules |