I experienced this `die' due to mg-schema-test-database failing to
borrow shared hosts properly, and added this Dumper for debugging.
I have not bothered to improve any of the other quite terse `die's in
ms-planner.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
my ($reso, $shareix) = ($`, $1);
my $share= $currentshare{$reso};
- die unless !!$share == !!$shareix;
+ die Dumper($reskey, $reso, $shareix,
+ $plan->{Allocations}{$reskey}, $currentshare{$reso})
+ unless !!$share == !!$shareix;
if ($share && $share->{OnlyPreparing}) {
delete $plan->{Allocations}{$reskey};