From e59e3c5f4bb8292f93008b6a7a0c65f076658a44 Mon Sep 17 00:00:00 2001 From: Ben Lord Date: Wed, 10 Jun 2026 14:31:52 +0100 Subject: [PATCH] removed lamda usage --- code/handlers/trackservers.q | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/handlers/trackservers.q b/code/handlers/trackservers.q index fda2115d3..d4896ed3f 100644 --- a/code/handlers/trackservers.q +++ b/code/handlers/trackservers.q @@ -138,7 +138,7 @@ getdetails:{(.z.f;.z.h;system"p";@[value;`.proc.procname;`];@[value;`.proc.proct / add session behind a handle addhw:{[hpuP;W] // Get the information around a process - info:`f`h`port`procname`proctype`attributes!(@[W;({$[`getdetails in key`.servers;.servers.getdetails[];(.z.f;.z.h;system"p";`;`;$[`getattributes in key`.proc;.proc.getattributes[];()!()])]};`);(`;`;0Ni;`;`;()!())]); + info:`f`h`port`procname`proctype`attributes!(@[W;(`.servers.getdetails;`);(`;`;0Ni;`;`;()!())]); if[0Ni~info`port;'"remote call failed on handle ",string W]; if[null name:info`procname;name:`$last("/"vs string info`f)except enlist""]; if[0=count name;name:`default]; @@ -175,7 +175,7 @@ retryrows:{[rows] //function a checks if the handle passed is empty and also invokes checknontorqattr function //which checks if .proc.getattributes is defined on the nontorqprocess and executes it //only if it is defined - a:{$[not null x;@[x;({.proc.getattributes[]};::);()!()];()!()]}; + a:{$[not null x;@[x;(`.proc.getattributes;::);()!()];()!()]}; // opencon, amends global tables, cannot be used inside of a select statement handles:.servers.opencon each exec .servers.getconnectionstring'[proctype;procname;hpup] from .servers.SERVERS where i in rows;