Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Keep waiting on task if it is in 'queued' or 'preRunning' status
Browse files Browse the repository at this point in the history
  • Loading branch information
apoland committed May 5, 2014
1 parent 3f25649 commit e7c61a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-vcloud/driver/version_5_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ def wait_task_completion(task_id)
@logger.debug(
"Evaluating taskid: #{task_id}, current status #{task[:status]}"
)
break if task[:status] != 'running'
break if !['queued','preRunning','running'].include?(task[:status])
sleep 5
end

Expand Down

0 comments on commit e7c61a5

Please sign in to comment.