Skip to content

Commit

Permalink
Corrected the root element emitted by S3 SelectObjectContentRequestMa…
Browse files Browse the repository at this point in the history
…rshaller to conform to S3 API.
  • Loading branch information
ashishdhingra authored and dscpinheiro committed Oct 26, 2022
1 parent c4a108e commit 0b39f98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public IRequest Marshall(SelectObjectContentRequest selectObjectContentRequest)
};
using (var xmlWriter = XmlWriter.Create(stringWriter, xmlWriterSettings))
{
xmlWriter.WriteStartElement("SelectRequest", S3Constants.S3RequestXmlNamespace);
xmlWriter.WriteStartElement("SelectObjectContentRequest", S3Constants.S3RequestXmlNamespace);
xmlWriter.WriteElementString("Expression",
S3Transforms.ToXmlStringValue(selectObjectContentRequest.Expression));
xmlWriter.WriteElementString("ExpressionType",
Expand Down

0 comments on commit 0b39f98

Please sign in to comment.