Commit 29c56bc6 authored by Leigh Stoller's avatar Leigh Stoller

Minor tweaks.

parent 2b1440db
......@@ -632,7 +632,7 @@ sub DoSnapshot()
goto failed
}
# Create a webtask for the caller, might be ignored but thats okay.
$webtask = WebTask->LookupOrCreate($dataset->uuid(), $webtask_id);
$webtask = WebTask->Create($dataset->uuid(), $webtask_id);
if (defined($webtask)) {
# Convenient.
$webtask->AutoStore(1);
......
......@@ -712,9 +712,6 @@ function Do_GetInfo()
$blob["image_size"] = 0;
}
$blob["image_status"] = $taskdata["image_status"];
if ($webtask->exited()) {
$webtask->Delete();
}
}
SPITAJAX_RESPONSE($blob);
}
......
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