Fix 'fake' driver unable to finish a deploy

The 'fake' driver is not returning any status from driver.deploy or
driver.tear_down, which prevents the completion of a provision state
transition with this driver.

Change-Id: I844dc03f35da23eb81235abdc16a79afc9835235
This commit is contained in:
Devananda van der Veen 2014-06-25 08:39:17 -07:00
parent fa9a0d0571
commit dbd96f3f2c

View File

@ -67,10 +67,10 @@ class FakeDeploy(base.DeployInterface):
pass
def deploy(self, task):
pass
return states.DEPLOYDONE
def tear_down(self, task):
pass
return states.DELETED
def prepare(self, task):
pass