> @@ -65,6 +65,13 @@
>        String version = on(".").join(limit(skip(splits, 1), splits.size() - 
> 2));
>        osBuilder.version(version);
>  
> +      if (image.getDeprecated().isPresent()) {
> +         if (image.getDeprecated().get().getState().isPresent()) {
> +            builder.userMetadata(ImmutableMap.<String,String>builder()

`builder.userMetadata(ImmutableMap.of("deprecatedState", 
image.getDeprecated().get().getState().get()));`?

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

Reply via email to