> @@ -267,6 +267,19 @@ public boolean apply(final OSImage input) {
>  
>     @Override
>     public Deployment getNode(final String id) {
> +      final Deployment deployment = 
> api.getDeploymentApiForService(id).get(id);
> +      if (deployment != null && !deployment.roleInstanceList().isEmpty()) {

This conditional is the same one than the used below. Refactor this a bit to 
reuse the code.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/294/files/07059cfa9d833aa959771e98a17406d23953d27c#r70401724

Reply via email to