From 5473ceb4615701376d123702427465e8c3ed3522 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Thu, 6 Nov 2008 17:04:41 +0000 Subject: [PATCH] new opsi_client to debug ospi problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12947 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/opsi_com.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-si/server/events/opsi_com.pm b/gosa-si/server/events/opsi_com.pm index cab3d4b7b..4ab62316c 100644 --- a/gosa-si/server/events/opsi_com.pm +++ b/gosa-si/server/events/opsi_com.pm @@ -429,7 +429,8 @@ sub opsi_get_netboot_products { &main::daemon_log("$session_id DEBUG: send callobj to opsi_client: ".&opsi_callobj2string($callobj), 7); &main::daemon_log("$session_id DEBUG: waiting for answer from opsi_client!", 7); - my $res = $main::opsi_client->call($main::opsi_url, $callobj); + my $opsi_client = new JSON::RPC::Client; + my $res = $opsi_client->call($main::opsi_url, $callobj); &main::daemon_log("$session_id DEBUG: get answer from opsi_client with number of entries: ".length(@$res), 7); my %r = (); for (@{$res->result}) { $r{$_} = 1 } -- 2.30.2