vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arku...@apache.org
Subject svn commit: r1800198 - /vcl/trunk/managementnode/lib/VCL/Module/OS.pm
Date Wed, 28 Jun 2017 19:46:48 GMT
Author: arkurth
Date: Wed Jun 28 19:46:48 2017
New Revision: 1800198

URL: http://svn.apache.org/viewvc?rev=1800198&view=rev
Log:
VCL-1031
Added missing return line to OS.pm::get_correct_default_gateway.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/OS.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/OS.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS.pm?rev=1800198&r1=1800197&r2=1800198&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS.pm Wed Jun 28 19:46:48 2017
@@ -1610,6 +1610,7 @@ sub get_correct_default_gateway {
 		my $current_default_gateway = $self->get_public_default_gateway();
 		if ($current_default_gateway) {
 			notify($ERRORS{'DEBUG'}, 0, "management node public IP mode is set to $management_node_ip_configuration,
default gateway currently configured on $computer_name should be used: $current_default_gateway");
+			return $current_default_gateway;
 		}
 		else {
 			notify($ERRORS{'WARNING'}, 0, "unable to determine correct default gateway to use on $computer_name,
management node public IP mode is set to $management_node_ip_configuration but default gateway
currently configured on $computer_name could not be determined");



Mime
View raw message