You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2015/10/13 22:08:08 UTC
svn commit: r1708499 -
/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
Author: arkurth
Date: Tue Oct 13 20:08:08 2015
New Revision: 1708499
URL: http://svn.apache.org/viewvc?rev=1708499&view=rev
Log:
Removed impossible 'elsif' case in xCAT.pm.
Modified:
vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm?rev=1708499&r1=1708498&r2=1708499&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm Tue Oct 13 20:08:08 2015
@@ -704,10 +704,6 @@ sub does_image_exist {
notify($ERRORS{'WARNING'}, 0, "du output does not contain a total line:\n" . join("\n", @$du_output));
return;
}
- elsif (!defined($du_exit_status)) {
- notify($ERRORS{'WARNING'}, 0, "failed to run ssh command to determine if image $image_name exists");
- return;
- }
# Return 1 if the image size > 0
my ($image_size) = (@$du_output[0] =~ /(\d+)\s+total/);