From e33913cdac791c41b596c54b407732593907b935 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Tue, 20 Sep 2016 16:27:30 +0200 Subject: [PATCH] rgw: remove unused RGWPostObj_ObjStore::post_form_part::content_type. Signed-off-by: Radoslaw Zarzynski --- src/rgw/rgw_rest.h | 1 - src/rgw/rgw_rest_s3.cc | 3 +-- src/rgw/rgw_rest_swift.cc | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/rgw/rgw_rest.h b/src/rgw/rgw_rest.h index a40a0e80c77f2..7034ff7511ab3 100644 --- a/src/rgw/rgw_rest.h +++ b/src/rgw/rgw_rest.h @@ -228,7 +228,6 @@ public: struct post_form_part { std::string name; - std::string content_type; std::map fields; ceph::bufferlist data; }; diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 1f1b08e4b59ed..4ff678c355c99 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -1535,8 +1535,7 @@ int RGWPostObj_ObjStore_S3::get_params() if (s->cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) { map::iterator piter; for (piter = part.fields.begin(); piter != part.fields.end(); ++piter) { - ldout(s->cct, 20) << "read part header: name=" << part.name - << " content_type=" << part.content_type << dendl; + ldout(s->cct, 20) << "read part header: name=" << part.name << dendl; ldout(s->cct, 20) << "name=" << piter->first << dendl; ldout(s->cct, 20) << "val=" << piter->second.val << dendl; ldout(s->cct, 20) << "params:" << dendl; diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index 5980cc22b097c..a5854b4cb6123 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -1764,8 +1764,7 @@ int RGWFormPost::get_params() if (s->cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) { for (const auto& pair : part.fields) { - ldout(s->cct, 20) << "read part header: partname=" << part.name - << " content_type=" << part.content_type << dendl; + ldout(s->cct, 20) << "read part header: partname=" << part.name << dendl; ldout(s->cct, 20) << "name=" << pair.first << dendl; ldout(s->cct, 20) << "val=" << pair.second.val << dendl; ldout(s->cct, 20) << "params:" << dendl; -- 2.39.5