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 2017/07/10 18:27:43 UTC

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

Author: arkurth
Date: Mon Jul 10 18:27:43 2017
New Revision: 1801508

URL: http://svn.apache.org/viewvc?rev=1801508&view=rev
Log:
VCL-1045
Enclosed XML-RPC response values in format_data in utils.pm::call_check_crypt_secrets. They contain a hash-based object and the values weren't being displayed properly in vcld.log.

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=1801508&r1=1801507&r2=1801508&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/utils.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/utils.pm Mon Jul 10 18:27:43 2017
@@ -15234,9 +15234,9 @@ sub call_check_crypt_secrets {
 	}
 	else {
 		notify($ERRORS{'WARNING'}, 0, "failed to update cryptsecret table, $xmlrpc_function returned:\n" .
-			"status        : $response->value->{status}\n" .
-			"error code    : $response->value->{errorcode}\n" .
-			"error message : $response->value->{errormsg}"
+			"status        : " . format_data($response->value->{status}) . "\n" .
+			"error code    : " . format_data($response->value->{errorcode}) . "\n" .
+			"error message : " . format_data($response->value->{errormsg})
 		);
 		return;
 	}