> @@ -796,9 +808,8 @@ public void testCopyBlobReplaceMetadata() throws 
> Exception {
>           } finally {
>              Closeables2.closeQuietly(is);
>           }
> -         // TODO: S3 overrideMetadataWith also overrides system metadata
> -         // TODO: Swift does not preserve system metadata
> -         //checkContentMetadata(toBlob);
> +         // TODO: Swift copy object *appends* user metadata, does not 
> overwrite

You could query the source metadata before copy and apply that during the copy 
operation that overrides it. Otherwise you will have to do two operation that 
modify an object, instead of a read and a copy. Thoughts?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/722/files#r27923587

Reply via email to