mirror of https://github.com/ansible/ansible.git
When an empty value is provided, no `version` attribute will exist on the `LooseVersion` or
`StrictVersion` object. We catch and handle this, but it's not immediatebly clear that an
AttributeError means an empty value was provided.
Specifically handle the case where value or version are empty and add more
helpful error messages.
Add integration tests.
(cherry picked from commit 71e33d2578
)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/74984/head
parent
46378f0086
commit
578fa17af5
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- version test - improve error message when an empty version is provided
|
Loading…
Reference in New Issue