git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9842919
)
extract job owner from regjob event
author
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 16 Sep 2005 12:23:41 +0000
(12:23 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 16 Sep 2005 12:23:41 +0000
(12:23 +0000)
org.glite.lb.server/src/lb_plugin.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/lb_plugin.c
b/org.glite.lb.server/src/lb_plugin.c
index
340478c
..
4f01b69
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-382,6
+382,10
@@
static int lb_status(edg_wll_Event **events, edg_wll_JobStat *status) {
i = 0;
while (events[i])
{
+ /* XXX: job owner not filled from events normally */
+ if (events[i]->any.type == EDG_WLL_EVENT_REGJOB)
+ js->pub.owner = strdup(events[i]->any.user);
+
if (processEvent(js, events[i], 0, be_strict, &errstring) == RET_FATAL) {
goto err;
}