From 8af0538cd91ee270fa009c1ee35c76e1441918ff Mon Sep 17 00:00:00 2001 From: Eric Abbott Date: Wed, 2 Mar 2011 00:04:21 +0800 Subject: [PATCH] tag.destroy was resulting in NoMethodError: undefined method "keys" for "":String. changed 2nd attribute to delete_tags to be the expected hash. --- lib/fog/compute/models/aws/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/compute/models/aws/tag.rb b/lib/fog/compute/models/aws/tag.rb index 1d93183d6..9525fab47 100644 --- a/lib/fog/compute/models/aws/tag.rb +++ b/lib/fog/compute/models/aws/tag.rb @@ -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