Commit 419c338d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not leave slice locked if the image fails.

parent 6a1ba5f6
......@@ -1164,17 +1164,17 @@ sub SnapShot($$$)
print STDERR "Imaging failed\n";
if (defined($webtask));
elsif (!$ready) {
print STDERR "Imaging timed out\n";
if (defined($webtask));
else {
# Leave the slice locked if it failed; need to think about
# what we should do.
# If successful, we create a new version of the profile and
# update the rspec to reflect the new image version. Note
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