jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] [JCLOUDS-850] Providing AzureTemplateBuilderLiveTest (#156)
Date Wed, 01 Apr 2015 12:59:06 GMT
> @@ -89,6 +89,14 @@ public void copyTo(final TemplateOptions to) {
>           if (storageAccountType.isPresent()) {
>              eTo.storageAccountType(storageAccountType.get());
>           }
> +
> +         final LoginCredentials credentials = new LoginCredentials.Builder().
> +                 user(loginUser).
> +                 password(loginPassword == null || !loginPassword.isPresent() ? null
: loginPassword.get()).
> +                 privateKey(loginPrivateKey == null || !loginPrivateKey.isPresent()
? null : loginPrivateKey.get()).
> +                 authenticateSudo(authenticateSudo == null ? false : authenticateSudo).
> +                 build();
> +         eTo.overrideLoginCredentials(credentials);

Worth fixing the class that does not properly copy that then?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/156/files#r27566165
Mime
View raw message