1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Add the ":idempotent => true" property to create_tags to

fix an issue when launching many instance from cluster_chef
This commit is contained in:
Peter C. Norton 2012-02-05 18:17:20 -05:00
parent 17454c6847
commit 6f20a709ea

View file

@ -31,6 +31,7 @@ module Fog
params.merge!(Fog::AWS.indexed_param('Tag.%d.Value', tags.values))
request({
'Action' => 'CreateTags',
:idempotent => true,
:parser => Fog::Parsers::Compute::AWS::Basic.new
}.merge!(params))
end