mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ec2] describe_instances should be idempotent
This commit is contained in:
parent
ec9c43cc9e
commit
39ef03c23c
1 changed files with 3 additions and 2 deletions
|
@ -51,8 +51,9 @@ module Fog
|
|||
def describe_instances(instance_id = [])
|
||||
params = AWS.indexed_param('InstanceId', instance_id)
|
||||
request({
|
||||
'Action' => 'DescribeInstances',
|
||||
:parser => Fog::Parsers::AWS::EC2::DescribeInstances.new
|
||||
'Action' => 'DescribeInstances',
|
||||
:idempotent => true
|
||||
:parser => Fog::Parsers::AWS::EC2::DescribeInstances.new
|
||||
}.merge!(params))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue