Author: arkurth
Date: Fri Apr  5 18:12:14 2013
New Revision: 1465081

URL: http://svn.apache.org/r1465081
Log:
VCL-682
Updated arguments VMware.pm which creates a DataStrucuture object: computer_id 
--> computer_identifier...

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm?rev=1465081&r1=1465080&r2=1465081&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm 
(original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm Fri 
Apr  5 18:12:14 2013
@@ -1123,7 +1123,7 @@ sub node_status {
                # Create a DataStructure object containing data for the 
computer specified as the argument
                my $data;
                eval {
-                       $data= new VCL::DataStructure({computer_id => 
$computer_id});
+                       $data= new VCL::DataStructure({computer_identifier => 
$computer_id});
                };
                if ($EVAL_ERROR) {
                        notify($ERRORS{'WARNING'}, 0, "failed to create 
DataStructure object for computer ID: $computer_id, error: $EVAL_ERROR");
@@ -1384,8 +1384,8 @@ sub get_vmhost_datastructure {
        eval {
                $vmhost_data= new VCL::DataStructure({request_data => 
$request_data,
                                                                                
                                                                 reservation_id 
=> $reservation_id,
-                                                                               
                                                                 computer_id => 
$vmhost_computer_id,
-                                                                               
                                                                 image_id => 
$vmhost_profile_image_id});
+                                                                               
                                                                 
computer_identifier => $vmhost_computer_id,
+                                                                               
                                                                 
image_identifier => $vmhost_profile_image_id});
        };
        
        if ($EVAL_ERROR) {
@@ -2575,7 +2575,7 @@ sub reclaim_vmhost_disk_space {
                
                # Create a DataStructure object for the computer
                my $check_computer_data;
-               eval { $check_computer_data = new 
VCL::DataStructure({computer_id => $check_computer_id}); };
+               eval { $check_computer_data = new 
VCL::DataStructure({computer_identifier => $check_computer_id}); };
                if (!$check_computer_data) {
                        notify($ERRORS{'WARNING'}, 0, "$vmx_file_name can't be 
deleted, failed to create a DataStructure object for computer 
$check_computer_id");
                        $vmx_files->{$vmx_file_path}{deletable} = 0;


Reply via email to