Skip to content

Commit

Permalink
Fixed stupid typo in the fix for glacier.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Mar 4, 2016
1 parent 3769637 commit 79749d8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aws-cpp-sdk-core/include/aws/core/VersionConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
* permissions and limitations under the License.
*/

#define AWS_SDK_VERSION_STRING "0.9.6-64-g5f4b3a0"
#define AWS_SDK_VERSION_STRING "0.9.6-65-g3769637"
2 changes: 1 addition & 1 deletion aws-cpp-sdk-glacier/include/aws/glacier/GlacierRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Glacier
{
auto headers = GetRequestSpecificHeaders();
headers.insert(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, AMZN_JSON_CONTENT_TYPE_1_1 ));
headers.insert("x-amz-glacier-version", "2012-06-01");
headers.insert(Aws::Http::HeaderValuePair("x-amz-glacier-version", "2012-06-01"));

return headers;
}
Expand Down
2 changes: 1 addition & 1 deletion aws-cpp-sdk-glacier/source/model/UploadArchiveRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ UploadArchiveRequest::UploadArchiveRequest() :
Aws::Http::HeaderValueCollection UploadArchiveRequest::GetRequestSpecificHeaders() const
{
Aws::Http::HeaderValueCollection headers;
headers.insert("x-amz-glacier-version", "2012-06-01");
headers.insert(Aws::Http::HeaderValuePair("x-amz-glacier-version", "2012-06-01"));

Aws::StringStream ss;
if(m_archiveDescriptionHasBeenSet)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ UploadMultipartPartRequest::UploadMultipartPartRequest() :
Aws::Http::HeaderValueCollection UploadMultipartPartRequest::GetRequestSpecificHeaders() const
{
Aws::Http::HeaderValueCollection headers;
headers.insert("x-amz-glacier-version", "2012-06-01");
headers.insert(Aws::Http::HeaderValuePair("x-amz-glacier-version", "2012-06-01"));

Aws::StringStream ss;
if(m_checksumHasBeenSet)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace ${metadata.namespace}
headers.insert(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, ${CppViewHelper.computeRequestContentType($metadata)} ));
#if($metadata.additionalHeaders)
#foreach($headerEntry in $metadata.additionalHeaders.entrySet())
headers.insert("${headerEntry.key}", "${headerEntry.value}");
headers.insert(Aws::Http::HeaderValuePair("${headerEntry.key}", "${headerEntry.value}"));
#end

#end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Aws::Http::HeaderValueCollection ${typeInfo.className}::GetRequestSpecificHeader
#end
#if($metadata.additionalHeaders)
#foreach($headerEntry in $metadata.additionalHeaders.entrySet())
headers.insert("${headerEntry.key}", "${headerEntry.value}");
headers.insert(Aws::Http::HeaderValuePair("${headerEntry.key}", "${headerEntry.value}"));
#end

#end
Expand Down

0 comments on commit 79749d8

Please sign in to comment.