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:
parent
964b30f195
commit
21c174845b
@ -122,7 +122,7 @@ int XenDriver::deployment_description(
|
||||
|
||||
num = vm->get_template_attribute("OS",attrs);
|
||||
|
||||
if ( num >= 0 )
|
||||
if ( num > 0 )
|
||||
{
|
||||
const VectorAttribute * os;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user