]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix Etag error in multipart copy response 23749/head
authoryuliyang <yuliyang@cmss.chinamobile.com>
Mon, 27 Aug 2018 09:19:54 +0000 (17:19 +0800)
committeryuliyang <yuliyang@cmss.chinamobile.com>
Mon, 27 Aug 2018 09:20:41 +0000 (17:20 +0800)
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
src/rgw/rgw_rest_s3.cc

index 2bb55e8a521e37720e99e6c0d3c3f5ef7444033e..b4e39d5840a059be56cc17c36708628cfed6a68e 100644 (file)
@@ -1436,7 +1436,7 @@ void RGWPutObj_ObjStore_S3::send_response()
       if (strftime(buf, sizeof(buf), "%Y-%m-%dT%T.000Z", &tmp) > 0) {
         s->formatter->dump_string("LastModified", buf);
       }
-      dump_etag(s, etag);
+      s->formatter->dump_string("ETag", etag);
       s->formatter->close_section();
       rgw_flush_formatter_and_reset(s, s->formatter);
       return;