summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-10-09 18:30:46 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-10-09 18:30:46 +0800
commit49a6694e6c286a12fcdc3b130315b92c1445e05b (patch)
tree92c23903095e3b30784e1158fbbb5d93976d8744 /func
parent7c6218b15fb704712b2bc5ccabbb3471253ff9cc (diff)
bugfix: function name typo
Change-Id: Idf41a5cb02bdb59e6e5d107fa0734091fd9c8a91 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'func')
-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)