Commit 566390ad authored by Leigh B Stoller's avatar Leigh B Stoller

Bug Fix; fix undefined variable that was causing some dataset creations

to not finish.
parent a3b031ac
......@@ -877,7 +877,8 @@ sub PollDatasetStatus($$$)
while ($seconds > 0) {
$seconds -= $interval;
if ($aggregate->aggregate_urn() eq $dataset->aggregate_urn()) {
if (!defined($aggregate) ||
$aggregate->aggregate_urn() eq $dataset->aggregate_urn()) {
if (DoRefreshInternal($dataset, $perrmsg)) {
print STDERR $$perrmsg;
Markdown is supported
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