Ian White created LIBCLOUD-845:
----------------------------------

             Summary: ex_delete_tags for EC2 doesn't work without passing tag 
value
                 Key: LIBCLOUD-845
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-845
             Project: Libcloud
          Issue Type: Bug
    Affects Versions: 0.13.3
         Environment: OSX
            Reporter: Ian White
            Priority: Minor


ec2.py / ec_delete_tags contains code that sets a tag value before passing the 
delete request along. However you can deleted a tag regardless of value by not 
supplying it.
Code currently doesn't allow for that (passing None simply passes 'None' as a 
param and fails to delete and failing to pass a value by passing Tag name(s) as 
a set causes runtime error).

Proposed fix is to insert following code before the Tag.%d.Value is added to 
the params;

if tags[key] != None:



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to