]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-validate: avoid "list index out of range" error
authorRishabh Dave <ridave@redhat.com>
Tue, 9 Oct 2018 20:47:40 +0000 (02:17 +0530)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 24 Oct 2018 18:21:48 +0000 (18:21 +0000)
commitff4dc83b87c31269106d7c0c7e475e7a08e96b06
tree3437df2887da86a099592a54199445f5f35ea63e
parent4d698ce831f1e1173b8f707506a97c168eb4f6e9
ceph-validate: avoid "list index out of range" error

Be sure that error.path has more than one members before using them.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
plugins/actions/validate.py