> @@ -86,8 +86,10 @@ public NodeMetadata apply(InstanceInZone instanceInZone) {
>
> String group = groupFromMapOrName(input.getMetadata().getItems(),
> input.getName(),
> nodeNamingConvention);
> - FluentIterable<String> tags =
> FluentIterable.from(input.getTags().getItems())
> -
> .filter(Predicates.not(firewallTagNamingConvention.get(group).isFirewallTag()));
> + FluentIterable<String> tags =
> FluentIterable.from(input.getTags().getItems());
> + if (group != null) {
> + tags =
> tags.filter(Predicates.not(firewallTagNamingConvention.get(group).isFirewallTag()));
Three-space indent, please!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/26/files#r13034188