We are going to want to process each walker's data into reports which
are not necessarily named after the same walker.
No functional change as yet.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
if {![llength $queue]} {
plan-reset plan
- report-plan plan
+ report-plan plan plan
return
}
proc queuerun-finished/plan {} {
runneeded-ensure-will 0
- report-plan plan
+ report-plan plan plan
}
proc runneeded-ensure-polling {} {
notify-to-think $w $thinking
}
-proc report-plan {w} {
+proc report-plan {w wo} {
global c
if {[catch {
- set outputfile "$c(WebspaceFile)/resource-$w.html"
+ set outputfile "$c(WebspaceFile)/resource-$wo.html"
exec ./ms-planner -w$w show-html > $outputfile
} emsg]} {
log "INTERNAL ERROR showing $w html: $emsg"