CLOUDSTACK-3881: deleteZone fails with java.lang.IndexOutOfBoundsException

fixing regression due to commit c236645d9a
This commit is contained in:
Murali Reddy 2013-07-28 12:59:58 +05:30
parent e6ce4daed8
commit e3a35e42b8
1 changed files with 3 additions and 3 deletions

View File

@ -1290,9 +1290,9 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
tablesToCheck.add(host);
List<String> imageStore = new ArrayList<String>();
host.add(0, "image_store");
host.add(1, "data_center_id");
host.add(2, "there are data store created for this zone");
imageStore.add(0, "image_store");
imageStore.add(1, "data_center_id");
imageStore.add(2, "there are data store created for this zone");
tablesToCheck.add(imageStore);
List<String> hostPodRef = new ArrayList<String>();