mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ec2] remove debug print line, fix typo
This commit is contained in:
parent
881e7254e6
commit
8e0b2bf684
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ module Fog
|
|||
when 'attaching'
|
||||
if Time.now - volume['attachmentSet'].first['attachTime'] > Fog::Mock.delay
|
||||
volume['attachmentSet'].first['status'] = 'in-use'
|
||||
volume['status'] = 'in_use'
|
||||
volume['status'] = 'in-use'
|
||||
end
|
||||
when 'creating'
|
||||
if Time.now - volume['createTime'] > Fog::Mock.delay
|
||||
|
|
|
@ -27,7 +27,7 @@ Shindo.tests('AWS::EC2 | volume requests', ['aws']) do
|
|||
end
|
||||
|
||||
tests("#detach_volume('#{@volume_id}')").formats(AWS::EC2::Formats::VOLUME_ATTACHMENT) do
|
||||
AWS[:ec2].volumes.get(@volume_id).wait_for { p state; state == 'in-use' }
|
||||
AWS[:ec2].volumes.get(@volume_id).wait_for { state == 'in-use' }
|
||||
AWS[:ec2].detach_volume(@volume_id).body
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue