Merge pull request #5359 from jtopjian/openstack-volume-detaching-state

provider/openstack: Add detaching as valid pending state
This commit is contained in:
Joe Topjian 2016-02-27 17:05:54 -07:00
commit 0a58304f51
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ func resourceBlockStorageVolumeV1Delete(d *schema.ResourceData, meta interface{}
}
stateConf := &resource.StateChangeConf{
Pending: []string{"in-use", "attaching"},
Pending: []string{"in-use", "attaching", "detaching"},
Target: []string{"available"},
Refresh: VolumeV1StateRefreshFunc(blockStorageClient, d.Id()),
Timeout: 10 * time.Minute,