mirror of https://github.com/apache/jclouds.git
adrian`s comments addressed
This commit is contained in:
parent
efbaa257e5
commit
14ab852907
|
@ -249,8 +249,8 @@ public class VAppApiLiveTest extends AbstractVAppApiLiveTest {
|
||||||
VAppTemplate vAppTemplate = vAppTemplateApi.getVAppTemplate(templateRecord.getHref());
|
VAppTemplate vAppTemplate = vAppTemplateApi.getVAppTemplate(templateRecord.getHref());
|
||||||
vms.addAll(vAppTemplate.getChildren());
|
vms.addAll(vAppTemplate.getChildren());
|
||||||
}
|
}
|
||||||
return Sets.newLinkedHashSet(Iterables.filter(vms, new Predicate<Vm>() {
|
return ImmutableSet.copyOf(Iterables.filter(vms, new Predicate<Vm>() {
|
||||||
// http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007019
|
// filter out vms in the vApp template with computer name that contains underscores, dots, or both.
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Vm input) {
|
public boolean apply(Vm input) {
|
||||||
GuestCustomizationSection guestCustomizationSection = vmApi.getGuestCustomizationSection(input.getHref());
|
GuestCustomizationSection guestCustomizationSection = vmApi.getGuestCustomizationSection(input.getHref());
|
||||||
|
|
Loading…
Reference in New Issue