> +          Map<String, ?> volumes, @Nullable String volumesFrom, @Nullable 
> String workingDir,
> +          @Nullable String entrypoint, @Nullable boolean networkDisabled, 
> @Nullable String onBuild) {
> +      this.hostname = hostname;
> +      this.domainName = domainName;
> +      this.user = user;
> +      this.memory = checkNotNull(memory, "memory");
> +      this.memorySwap = checkNotNull(memorySwap, "memorySwap");
> +      this.cpuShares = checkNotNull(cpuShares, "cpuShares");
> +      this.attachStdin = checkNotNull(attachStdin, "attachStdin");
> +      this.attachStdout = checkNotNull(attachStdout, "attachStdout");
> +      this.attachStderr = checkNotNull(attachStderr, "attachStderr");
> +      this.exposedPorts = exposedPorts != null ? 
> ImmutableMap.copyOf(exposedPorts) : ImmutableMap.<String, Object> of();
> +      this.tty = checkNotNull(tty, "tty");
> +      this.openStdin = checkNotNull(openStdin, "openStdin");
> +      this.stdinOnce = checkNotNull(stdinOnce, "stdinOnce");
> +      this.env = env != null ? ImmutableList.copyOf(cmd) : 
> ImmutableList.<String> of();

Should be `ImmutableList.copyOf(env)` here...

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/57/files#r12930244

Reply via email to