> +   /**
> +    * @return Instance The Instance created in the CreateInstance example
> +    */
> +   private Instance getInstance() {
> +      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.
> +    *

Fix.

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

Reply via email to