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] [Softlayer] Implements setting and retrieving the notes property (#756)
Date Tue, 02 Jun 2015 23:56:02 GMT
> @@ -213,6 +218,11 @@ public SoftLayerComputeServiceAdapter(SoftLayerApi api,
>           api.getVirtualGuestApi().setTags(result.getId(), templateOptions.getTags());
>        }
>  
> +      String notes = getNotesFrom(templateOptions);
> +      if (!Strings.isNullOrEmpty(notes)) {
> +         api.getVirtualGuestApi().setNotes(result.getId(), getNotesFrom(templateOptions));

Use the `notes` variable instead.

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