octue / django-gcp

Everything required to run Django on GCP (storage, pubsub events, tasks, logging, errors)
Other
19 stars 3 forks source link

Moved blob not deleted on versioned buckets #37

Open thclark opened 1 year ago

thclark commented 1 year ago

Bug report

What is the current behavior?

If moving a blob, the blob is copied then the original deleted at this line of code.

However, according to the deletion instructions, if the bucket is versioned, then the generation of the blob to be deleted must be supplied.

What is the expected behavior?

Moving blobs on versioned buckets should remove the old blobs.