summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--func/spawn_vm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/spawn_vm.py b/func/spawn_vm.py
index 5e2c1a70..c45af00e 100644
--- a/func/spawn_vm.py
+++ b/func/spawn_vm.py
@@ -36,7 +36,7 @@ class SpawnVM(Env_setup):
self.azone = AvailabilityZone()
# TODO: it should clean up aggregates and stack after test case finished.
self.azone.clean_all_aggregates()
- self.azone.create_agg(vm_info['availability_zone'])
+ self.azone.create_aggs(vm_info['availability_zone'])
installer = self.get_installer_type()
self.Heat_template1 = self.heat_template_vm(vm_info, installer)
self.create_stack(vm_role_ip_dict, self.Heat_template1)