>        if (generateInstanceNames && !common.containsKey("Name")) {
>           for (Map.Entry<String, ? extends NodeMetadata> entry : 
> instancesById.entrySet()) {
>              String id = entry.getKey();
>              String name;
> -            if (!nodeNames.isEmpty()) {
> -               name = Iterables.get(nodeNames, 0);
> +            if (!namesToUse.isEmpty()) {
> +               name = namesToUse.remove(0);

Just want to check that I'm understanding the change...we need to _remove_ the 
element to ensure that, next time around, we get the _next_ candidate in line 
(rather than the same one again)?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/292/files#r9766605

Reply via email to