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:
f20c8ac
)
re-added deleted support for parent attribute
author
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 4 Sep 2006 14:10:19 +0000
(14:10 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 4 Sep 2006 14:10:19 +0000
(14:10 +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
a4463cf
..
f6e6a10
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-277,6
+277,14
@@
static int lb_query(void *fpctx,void *handle,const char *attr,glite_jp_attrval_t
av[0].size = -1;
av[0].timestamp = h->status.lastUpdateTime.tv_sec;
}
+ } else if (strcmp(attr, GLITE_JP_LB_parent) == 0) {
+ if (h->status.jobId) {
+ av = calloc(2, sizeof(glite_jp_attrval_t));
+ av[0].name = strdup(attr);
+ av[0].value = edg_wlc_JobIdUnparse(h->status.parent_job);
+ av[0].size = -1;
+ av[0].timestamp = h->status.lastUpdateTime.tv_sec;
+ }
} else if (strcmp(attr, GLITE_JP_LB_VO) == 0) {
i = 0;
while (h->events[i]) {