> +
> + groupCreator.getUnchecked(regionAndName);
> +
> + return getSecurityGroupById(regionAndName.slashEncode());
> + }
> +
> + @Override
> + public boolean removeSecurityGroup(String id) {
> + checkNotNull(id, "id");
> + String[] parts = AWSUtils.parseHandle(id);
> + String region = parts[0];
> + String groupName = parts[1];
> +
> + if
> (client.getSecurityGroupServices().describeSecurityGroupsInRegion(region,
> groupName).size() > 0) {
> +
> client.getSecurityGroupServices().deleteSecurityGroupInRegion(region,
> groupName);
> + // TODO: test this clear happens
TODO for this PR?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/33/files#r4940816