> +            } finally {
> +                serverApi.delete(serverId);
> +            }
> +        }
> +    }
> +
> +    private Server createServer(String regionId, Server.Status serverStatus) 
> {
> +        ServerApi serverApi = api.getServerApiForZone(regionId);
> +        CreateServerOptions options = new CreateServerOptions();
> +        ServerCreated server = serverApi.create(hostName, 
> imageIdForZone(regionId), flavorRefForZone(regionId), options);
> +
> +        blockUntilServerInState(server.getId(), serverApi, serverStatus);
> +
> +        return serverApi.get(server.getId());
> +    }
> +

Formatting looks off here - 4 spaces instead of 3?

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

Reply via email to