Commit 0c404afa authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix to StartSlivers() failure handling; there is no ticket,

must use the manifest.
parent 4fe3217b
......@@ -824,13 +824,12 @@ sub StartSlivers($$$$)
if (@failed) {
foreach my $resource (@failed) {
my $manager_urn = $resource->manager_urn();
my $ticketstr = $resource->Ticket();
my $ticket = GeniXML::Parse($ticketstr);
my $manifest = $resource->Manifest();
return -1
if (!defined($ticket));
if (!defined($manifest));
foreach my $ref (GeniXML::FindNodes("n:node",
$ticket)->get_nodelist()) {
$manifest)->get_nodelist()) {
my $vname = GeniXML::GetVirtualId($ref);
my $this_manager_urn = GeniXML::GetManagerId($ref);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment