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:
parent
fa9a0d0571
commit
dbd96f3f2c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user