> +      for (Instance instance: instanceApi.list()) {
> +         if (instance.getName().startsWith(Constants.NAME)) {
> +            return instanceApi.get(instance.getId());
> +         }
> +      }
> +
> +      throw new RuntimeException(Constants.NAME + " not found. Run the 
> CreateInstance example first.");
> +   }
> +   
> +   /**
> +    * AddNodes specify the nodes (Cloud Servers) that requests will be sent 
> to by the Load Balancer.
> +    *
> +    */
> +   private Set<AddNode> createNodeRequests() {
> +      AddNode addNode01 = AddNode.builder()
> +            .address( getInstance().getHostname() )

Extra spaces.

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

Reply via email to