mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 17:53:08 +09: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:
1 parent
964b30f195
commit
21c174845b
1 file changed
+1
-1
@@ -122,7 +122,7 @@ int XenDriver::deployment_description(
|
||||
|
||||
num = vm->get_template_attribute("OS",attrs);
|
||||
|
||||
if ( num >= 0 )
|
||||
if ( num > 0 )
|
||||
{
|
||||
const VectorAttribute * os;
|
||||
|
||||
|
||||
Reference in new issue
Block a user