Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
boutetnico authored and majormoses committed May 9, 2019
1 parent cffd23a commit 6fbc648
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions bin/check-ebs-burst-limit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,14 @@ def run
Aws.config[:region] = my_instance_az.chop
my_instance_id = Net::HTTP.get(URI.parse('http://169.254.169.254/latest/meta-data/instance-id'))
volume_filters.push(
{
name: 'attachment.instance-id',
values: [my_instance_id]
}
name: 'attachment.instance-id',
values: [my_instance_id]
)
else
# The -s option was not specified, look at all volumes which are attached
volume_filters.push(
{
name: 'attachment.status',
values: ['attached']
}
volume_filters.push(
name: 'attachment.status',
values: ['attached']
)
end

Expand Down

0 comments on commit 6fbc648

Please sign in to comment.