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/03/18 14:21:12 UTC

svn commit: r1667539 - /vcl/trunk/managementnode/lib/VCL/utils.pm

Author: arkurth
Date: Wed Mar 18 13:21:12 2015
New Revision: 1667539

URL: http://svn.apache.org/r1667539
Log:
VCL-16
Changed utils.pm::get_request_info to not use cached data if no argument is specified. This was causing the cluster_info file to contain incorrect information if a computer's public IP address changed.

Modified:
    vcl/trunk/managementnode/lib/VCL/utils.pm

Modified: vcl/trunk/managementnode/lib/VCL/utils.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/utils.pm?rev=1667539&r1=1667538&r2=1667539&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/utils.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/utils.pm Wed Mar 18 13:21:12 2015
@@ -2924,7 +2924,7 @@ sub get_request_info {
 	
 	# Use cached info by default
 	if (!$no_cache) {
-		$no_cache = 0;
+		$no_cache = 1;
 	}
 	
 	# Get a hash ref containing the database column names