> @@ -393,7 +393,8 @@ public void suspendNode(String name) {
> private LoginCredentials
> getFromImageAndOverrideIfRequired(org.jclouds.compute.domain.Image image,
>
> GoogleComputeEngineTemplateOptions options) {
> LoginCredentials defaultCredentials = image.getDefaultCredentials();
> - String[] keys = defaultCredentials.getPrivateKey().split(":");
> + // Atthis point the private key must exist
> + String[] keys =
> defaultCredentials.getOptionalPrivateKey().get().split(":");
Agree. My intent was only to remove the warnings, but not start a major cleanup
of the provider, but I'd be happy to start a global cleanup PR in the provider
to address all things we want to improve.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/62/files#r19263291