|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 6/9] ts-hosts-allocate-Executive: Clarify an expression with //
No functional change.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
ts-hosts-allocate-Executive | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
index fc54cda..9562a0a 100755
--- a/ts-hosts-allocate-Executive
+++ b/ts-hosts-allocate-Executive
@@ -464,8 +464,7 @@ sub hid_recurse ($$) {
!defined($duration) ||
defined($cand->{Duration}) && $cand->{Duration} >= $duration;
$previously_failed++ if
- defined $cand->{MostRecentStatus} &&
- $cand->{MostRecentStatus} eq 'fail';
+ ($cand->{MostRecentStatus} // '') eq 'fail';
}
my $duration_rightaway_adjust= 0;
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |