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

[aws] One line change to be able to delete AWS tag

I have know idea if that was intentional but with that action set the
  method does not delete tags.  Setting it to the DeleteTags action does.
This commit is contained in:
Cody Herriges 2011-02-12 03:02:09 +08:00 committed by Wesley Beary
parent 9591b3f7a2
commit 7166d35d6b

View file

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