builder/amazon/chroot: more valid transition states while detaching

This commit is contained in:
Mitchell Hashimoto 2013-07-29 19:08:22 -07:00
parent 033218df0d
commit b4435f6890
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func (s *StepAttachVolume) Cleanup(state map[string]interface{}) {
// Wait for the volume to detach
stateChange := awscommon.StateChangeConf{
Conn: ec2conn,
Pending: []string{"detaching"},
Pending: []string{"attaching", "attached", "detaching"},
StepState: state,
Target: "detached",
Refresh: func() (interface{}, string, error) {