]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
validate: check the version of python-notario
authorAndrew Schoen <aschoen@redhat.com>
Tue, 16 Oct 2018 15:20:54 +0000 (10:20 -0500)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 19 Oct 2018 09:18:39 +0000 (09:18 +0000)
commita439eb574d33681bf0e9761fb649c5dbddd2c662
tree3831aad68e052ce696eeca384fbf9bf64478cddb
parent8fa437b7bd53a4a1057fc82229c6b0b47ed5d3d1
validate: check the version of python-notario

If the version of python-notario is < 0.0.13 an error message is given
like "TypeError: validate() got an unexpected keyword argument
'defined_keys'", which is not helpful in figuring
out you've got an incorrect version of python-notario.

This check will avoid that situation by telling the user that they need
to upgrade python-notario before they hit that error.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
plugins/actions/validate.py