Skip to content

Commit

Permalink
Merge pull request #5359 from jtopjian/openstack-volume-detaching-state
Browse files Browse the repository at this point in the history
provider/openstack: Add detaching as valid pending state
  • Loading branch information
jtopjian committed Feb 28, 2016
2 parents f09a566 + 866e494 commit 0a58304
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0a58304

Please sign in to comment.