Commit 7c345c85 authored by Leigh Stoller's avatar Leigh 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
now.
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
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