> @@ -59,7 +59,7 @@
> osBuilder.version(version);
>
> if (image.deprecated() != null) {
> - builder.userMetadata(ImmutableMap.of("deprecatedState",
> image.deprecated().state()));
> + builder.userMetadata(ImmutableMap.of("deprecatedState",
> image.deprecated().state().toString()));
I think toString handles the casing, which is why this needed to be changed.
@danbroudy can you add a test to make sure this happens? Make
GoogleComputeEngineImageToImageTest and pass an input image which is deprecated.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/98/files#r20819254