> @@ -263,6 +254,12 @@ private Disk createBootDisk(Template template, String
> instanceName) {
> builder.addAll(api.getMachineTypeApiForProject(userProject.get())
> .listInZone(zone.getId())
> .concat()
> + .filter(new Predicate<MachineType>() {
> + @Override
> + public boolean apply(MachineType input) {
> + return input.getDeprecated().isPresent() ? false :
> true;
Just `return !input.getDeprecated.isPresent()`
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/24/files#r11996379