>        if (action == Action.EXEC && args.length < PARAMETERS + 1)
>           throw new IllegalArgumentException("please quote the command to 
> exec as the last parameter");
>        String command = (action == Action.EXEC) ? args[5] : "echo hello";
>  
> -      if (provider.equalsIgnoreCase("google-compute-engine"))
> +      if (isGCEProvider)
>           credential = getPrivateKeyFromFile(credential); // load the pem 
> file as string

Perhaps the comment could better be "for GCE, the credential parameter is the 
path to the private key file"?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/42/files#r11324166

Reply via email to