From effcfc5d32f0ef2ae86780118883e8298fb651d3 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 13 Nov 2020 11:12:22 -0500 Subject: [PATCH] LP1904220: Fix Booking Service Check Instead of trying to tell AppService which router we want to talk to and confusing it, just tell it we want to talk to a router and let it do its thing. Signed-off-by: Jason Boyer Signed-off-by: Mike Rylander --- .../src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index 66280f5999..b8c920f8bf 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -18,12 +18,7 @@ my $desk_renewal_use_circ_lib; sub determine_booking_status { unless (defined $booking_status) { - my $router_name = OpenSRF::Utils::Config - ->current - ->bootstrap - ->router_name || 'router'; - - my $ses = create OpenSRF::AppSession($router_name); + my $ses = create OpenSRF::AppSession("router"); $booking_status = grep {$_ eq "open-ils.booking"} @{ $ses->request("opensrf.router.info.class.list")->gather(1) }; -- 2.43.2