From: Jason Boyer Date: Fri, 13 Nov 2020 16:12:22 +0000 (-0500) Subject: LP1904220: Fix Booking Service Check X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=effcfc5d32f0ef2ae86780118883e8298fb651d3;p=evergreen%2Fmasslnc.git 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 --- 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) };