jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds] Prefer OpenStack Regions (#463)
Date Thu, 14 Aug 2014 01:50:03 GMT
>           assertTrue(instanceApi.list().size() >= 2);
> -         for (Instance instance : instancesToDelete.get(zone)) {
> -            DatabaseApi databaseApi = api.getDatabaseApiForZoneAndInstance(zone, instance.getId());
> +         for (Instance instance : instancesToDelete.get(region)) {
> +            DatabaseApi databaseApi = api.getDatabaseApi(region, instance.getId());
>              if (!instance.getName().contains("database_testing"))
>                 continue;
>              assertTrue(databaseApi.list().size() >= 1);

I will try to do some database-specific refactoring and cleanup very soon. Hopefully these
can be addressed in separate PRs?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/463/files#r16217840
Mime
View raw message