1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

Fixed a bug that made one crash when template did not have OS attribute set

git-svn-id: http://svn.opennebula.org/trunk@86 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños 2008-08-20 16:08:23 +00:00
parent 964b30f195
commit 21c174845b

View File

@ -122,7 +122,7 @@ int XenDriver::deployment_description(
num = vm->get_template_attribute("OS",attrs);
if ( num >= 0 )
if ( num > 0 )
{
const VectorAttribute * os;