Commit 7c345c85 authored by Leigh B Stoller's avatar Leigh B Stoller

Remove test for deleted from NewVersion(), turns out that a quirk of how

I implemented versioning for images make this test the wrong thing to
do. I need to come back and change this, but its not a big deal right
parent 9893f5e1
......@@ -830,7 +830,13 @@ sub NewVersion($$$$)
# This should not happen but lets make sure.
if (defined($self->deleted())) {
# We cannot make this test cause of image deletion; we might have
# deleted the head version. But this code below assumes we are
# making a copy of the highest numbered version of the image. I think
# we can change this, but do not want to attempt that now. Needs more
# thought
if (0 && defined($self->deleted())) {
print STDERR "Not allowed to clone deleted image $self\n";
return undef;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment