jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] Prefer OpenStack Regions (#463)
Date Wed, 13 Aug 2014 17:51:53 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);

[minor] `!databaseApi.isEmpty()`?

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