> @@ -108,8 +137,15 @@ private void createServer() throws RunNodesException,
> TimeoutException {
> .locationId(ZONE)
> .hardwareId(getHardware().getId())
> .imageId(getImage().getId())
> - .build();
> -
> + .build();
> + // Authorize googleUserName to use the instance with their SSH key.
> + template.getOptions().as(GoogleComputeEngineTemplateOptions.class)
Is the cast needed? If we're only using portable options here, then better
remove the `as` call.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/59/files#r16063407