> +      dataCenterId = payload.dataCenterId();
> +      serverId = payload.serverId();
> +      nicId = payload.id();
> +            
> +      requestBuilder.put("lan",  payload.lan());
> +      
> +      if (payload.name() != null)
> +         requestBuilder.put("name", payload.name());
> +      
> +      if (payload.ips() != null && !payload.ips().isEmpty())
> +         requestBuilder.put("ips", payload.ips());
> +      
> +      if (payload.dhcp() != null)
> +         requestBuilder.put("dhcp", payload.dhcp());
> +      
> +      return (new Gson()).toJson(requestBuilder);

Same here; use the injected one.

---
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/249/files/a17eac2160481358b8735aab30ecf12d672b341b#r56994321

Reply via email to