bug - : Fix context generation for VMware

(cherry picked from commit c9321632fb)
This commit is contained in:
Ruben S. Montero authored and Carlos Martín committed 2012-10-25 18:00:19 +02:00
1 parent 647226b982
commit bc61fa78ed
1 file changed
+2 -1
+2 -1
View File
@@ -276,7 +276,8 @@ int LibVirtDriver::deployment_description_vmware(
{
context = dynamic_cast<const VectorAttribute *>(attrs[0]);
target = context->vector_value("TARGET");
disk->vector_value_str("DISK_ID", disk_id);
context->vector_value_str("DISK_ID", disk_id);
if ( !target.empty() )
{