The debug subref is passed to the constructor (and indeed we do that).
The final argument to the actual estimator is $uptoincl_testid (but we
didn't say $will_uptoincl_testid, so it is ignored).
The code was wrong, but with no effect. So no functional change.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
($candrow->{Duration},
$candrow->{MostRecentStarted},
$candrow->{MostRecentStatus}) =
- $duration_estimator->($job, $hid->{Ident}, $candrow->{resname},
- sub {
-# print DEBUG "$dbg DUR-EST @_\n";
- });
+ $duration_estimator->($job, $hid->{Ident}, $candrow->{resname});
}