Skip to content

Commit

Permalink
rgw: LCFilter_S3::to_xml the second "prefix" missed "/"
Browse files Browse the repository at this point in the history
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
(cherry picked from commit dcef855)
  • Loading branch information
lu.shasha authored and theanalyst committed Sep 12, 2017
1 parent b575d00 commit 2be6c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_lc_s3.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class LCFilter_S3 : public LCFilter, public XMLObj
void to_xml(ostream& out){
out << "<Filter>";
if (!prefix.empty())
out << "<Prefix>" << prefix << "<Prefix>";
out << "<Prefix>" << prefix << "</Prefix>";
out << "</Filter>";
}
void dump_xml(Formatter *f) const {
Expand Down

0 comments on commit 2be6c63

Please sign in to comment.