Author: arkurth Date: Mon Jun 12 17:02:56 2017 New Revision: 1798490 URL: http://svn.apache.org/viewvc?rev=1798490&view=rev Log: VCL-1045 Added '0' argument to get_vmhost_profile_secret_id call in DataStructure.pm::get_vmhost_profile_password to prevent unnecessary warnings.
Modified: vcl/trunk/managementnode/lib/VCL/DataStructure.pm Modified: vcl/trunk/managementnode/lib/VCL/DataStructure.pm URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/DataStructure.pm?rev=1798490&r1=1798489&r2=1798490&view=diff ============================================================================== --- vcl/trunk/managementnode/lib/VCL/DataStructure.pm (original) +++ vcl/trunk/managementnode/lib/VCL/DataStructure.pm Mon Jun 12 17:02:56 2017 @@ -2870,7 +2870,7 @@ sub get_vmhost_profile_password { return; } - my $secret_id = $self->get_vmhost_profile_secret_id(); + my $secret_id = $self->get_vmhost_profile_secret_id(0); if (!defined($secret_id)) { notify($ERRORS{'DEBUG'}, 0, "vmprofile.password is set but vmprofile.secretid is NOT, assuming vmprofile.password is a pre-VCL 2.5 clear-text password: '$password'"); return $password;