1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug #531: Clear authorization vector when using multiple resources

(cherry picked from commit e4b9a18f2a927e291586b3be2eb8949cf23be586)
This commit is contained in:
C12G Labs 2011-03-14 17:37:55 +01:00 committed by Ruben S. Montero
parent ab1a4e31e3
commit 6bb7f6e702

View File

@ -95,6 +95,8 @@ void RequestManager::VirtualMachineAllocate::execute(
VirtualMachineAllocate::ipool->authorize_disk(vector,&ar);
}
vectors.clear();
num = vm_template->get("NIC",vectors);
for(int i=0; i<num; i++)