The third argument is $debug.  If it's falseish, a default subref is
used instead.  Passing '' is confusing; pass undef instead.

No functional change.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 sg-report-flight | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sg-report-flight b/sg-report-flight
index de1fd14..47ecf07 100755
--- a/sg-report-flight
+++ b/sg-report-flight
@@ -763,7 +763,7 @@ END
 
     my $duration_estimator= duration_estimator($branch, $blessings[0]);
     foreach my $failv (@failures) {
-        my ($est) = $duration_estimator->($failv->{Job}{job},'','');
+        my ($est) = $duration_estimator->($failv->{Job}{job},'',undef);
         if (!defined $est) { $est = 1e5; }
         print DEBUG "DE $failv->{Job}{job} $est\n";
         $failv->{DurationEstimate}= $est;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to