> +         if (instance.getName().startsWith(Constants.NAME)) {
> +            return instanceApi.get(instance.getId());
> +         }
> +      }
> +
> +      throw new RuntimeException(Constants.NAME + " not found. Run the 
> CreateInstance example first.");
> +   }
> +   
> +   /**
> +    * @return Returns a set of a single cloud load balancer node that can be 
> used to connect to the database from the public Internet
> +    */
> +   private Set<AddNode> addNodesOfDatabaseInstances() {
> +      AddNode addNode01 = AddNode.builder()
> +                                 .address( getInstance().getHostname() )
> +                                 .condition( Node.Condition.ENABLED )
> +                                 .port( 3306 )

Remove the space around all of these params.

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

Reply via email to