Verify: remove useless check in _VerifyInstance
authorGuido Trotter <ultrotter@google.com>
Thu, 10 Apr 2008 10:07:58 +0000 (10:07 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 10 Apr 2008 10:07:58 +0000 (10:07 +0000)
commite9a2a3ed3b2f1c9e6965953365a5fb3c1b2304d9
tree14c24559a076eca983eba82d10706913c690b9f3
parent2411519eec8cd9058c19748243d651fefe216440
Verify: remove useless check in _VerifyInstance

The list of instances passed to _VerifyInstance is the one coming from
self.cfg.GetInstanceList(). So there's no point, inside that function, in
checking whether the current instance is a member of that list. Moreover
orphaned instance verification is already done in a separate step.

Reviewed-by: imsnah
lib/cmdlib.py