]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
lock.py: is_vpm should test is_vm 557/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 1 Jul 2015 17:57:07 +0000 (19:57 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 1 Jul 2015 18:01:03 +0000 (20:01 +0200)
commitbe9aa8a6cfe6c3d182ba640ceadf1b3a2ff93d53
tree2a14f1056e7589332b77d4ac7eb509c9c37d6491
parent60f1b1aa33afa82df85bd6904eeae9d343640301
lock.py: is_vpm should test is_vm

Testing the name of a machine to figure out if it is a virtual machine
is unreliable. Use the is_vm field of get_status instead.

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/lock.py