From 2825e469fee4c2f33b877e862a32f253101766a3 Mon Sep 17 00:00:00 2001 From: baiyuan Date: Mon, 27 Jan 2014 23:31:39 -0500 Subject: [PATCH] fix Undefined subroutine &JSON::decode_json called at /opt/xcat/ws/xcatws.cgi line 168 --- xCAT-server/xCAT-wsapi/xcatws.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/xCAT-wsapi/xcatws.cgi b/xCAT-server/xCAT-wsapi/xcatws.cgi index 9fabf3bdb..0694bbc94 100755 --- a/xCAT-server/xCAT-wsapi/xcatws.cgi +++ b/xCAT-server/xCAT-wsapi/xcatws.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl use strict; use CGI qw/:standard/; -#use JSON; # require this dynamically later on so that installations that do not use xcatws.cgi do not need perl-JSON +use JSON; # require this dynamically later on so that installations that do not use xcatws.cgi do not need perl-JSON use Data::Dumper; #added the line: