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

tag.destroy was resulting in NoMethodError: undefined method "keys" for "":String. changed 2nd attribute to delete_tags to be the expected hash.

This commit is contained in:
Eric Abbott 2011-03-02 00:04:21 +08:00 committed by Wesley Beary
parent 989b354165
commit 8af0538cd9

View file

@ -18,7 +18,7 @@ module Fog
def destroy
requires :key, :resource_id
connection.delete_tags(resource_id, key)
connection.delete_tags(resource_id, key => value)
true
end