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

[aws] fixed auto scaling model group 'destroy' method where it needs to use merge! instead of merge to set the opts local variable in place, otherwise the options passed to the method are droppedon the floor

This commit is contained in:
Jay Perry 2012-11-19 11:25:45 -05:00
parent 52c71b0223
commit 85a0a93e78

View file

@ -125,7 +125,7 @@ module Fog
requires :id
opts = {}
opts.merge({'ForceDelete' => true}) if options[:force]
opts.merge!({'ForceDelete' => true}) if options[:force]
connection.delete_auto_scaling_group(id, opts)
end