Skip to content

Commit 8e0b2bf

Browse files
committed
[ec2] remove debug print line, fix typo
1 parent 881e725 commit 8e0b2bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/fog/aws/requests/ec2/describe_volumes.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def describe_volumes(volume_id = [])
5151
when 'attaching'
5252
if Time.now - volume['attachmentSet'].first['attachTime'] > Fog::Mock.delay
5353
volume['attachmentSet'].first['status'] = 'in-use'
54-
volume['status'] = 'in_use'
54+
volume['status'] = 'in-use'
5555
end
5656
when 'creating'
5757
if Time.now - volume['createTime'] > Fog::Mock.delay

‎tests/aws/requests/ec2/volume_tests.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
end
2828

2929
tests("#detach_volume('#{@volume_id}')").formats(AWS::EC2::Formats::VOLUME_ATTACHMENT) do
30-
AWS[:ec2].volumes.get(@volume_id).wait_for { p state; state == 'in-use' }
30+
AWS[:ec2].volumes.get(@volume_id).wait_for { state == 'in-use' }
3131
AWS[:ec2].detach_volume(@volume_id).body
3232
end
3333

0 commit comments

Comments
 (0)