cloudyr/aws.ec2

*describe_sgroups(filter)* does not work

Closed this issue · 1 comments

In the code for describe_sgroup(filter=list(description ='BLAH') the filter function doesn't work.

Because in the line , the function .makelist sets the names as ".Key" , when it should be .Name

names(tmp) <- c(paste0(type, ".", 1:length(list), ".Key"),

 names(tmp) <- c(paste0(type, ".", 1:length(list), ".Key"),

This should be written as names(tmp) <- c(paste0(type, ".", 1:length(list), ".Name"),

This doesn't work according to the aws api, as used here in describe_sgroups.

query <- c(query, .makelist(filter, type = "Filter"))

query <- c(query, .makelist(filter, type = "Filter"))

Fixed by 90667f7