Make triton machine deletes synchronous.

This commit is contained in:
Sean Chittenden 2017-05-10 15:25:11 -07:00 committed by Paul Stack
parent c21f53ddca
commit 67a27b4a45

View File

@ -623,7 +623,7 @@ func resourceMachineDelete(d *schema.ResourceData, meta interface{}) error {
})
if err != nil {
if triton.IsResourceNotFound(err) {
return nil, "deleted", nil
return getResp, "deleted", nil
}
return nil, "", err
}