Skip to content

Commit

Permalink
Generated changes for issue 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
boblodgett committed Apr 2, 2024
1 parent aac6c0c commit ecff398
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
keyToUse = keyToUse.Substring("".Length);
}

if (context.ResponseData.IsHeaderPresent($"{nameResponseHeaders}"))
if (context.ResponseData.IsHeaderPresent($"{keyToUse}"))
{
headersForResponseHeaders.Add(
keyToUse,
context.ResponseData.GetHeaderValue($"{nameResponseHeaders}")
context.ResponseData.GetHeaderValue($"{keyToUse}")
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
keyToUse = keyToUse.Substring("".Length);
}

if (context.ResponseData.IsHeaderPresent($"{namePrefixHeaders}"))
if (context.ResponseData.IsHeaderPresent($"{keyToUse}"))
{
headersForPrefixHeaders.Add(
keyToUse,
context.ResponseData.GetHeaderValue($"{namePrefixHeaders}")
context.ResponseData.GetHeaderValue($"{keyToUse}")
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
keyToUse = keyToUse.Substring("X-Foo-".Length);
}

if (context.ResponseData.IsHeaderPresent($"X-Foo-{nameFooMap}"))
if (context.ResponseData.IsHeaderPresent($"X-Foo-{keyToUse}"))
{
headersForFooMap.Add(
keyToUse,
context.ResponseData.GetHeaderValue($"X-Foo-{nameFooMap}")
context.ResponseData.GetHeaderValue($"X-Foo-{keyToUse}")
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext conte
keyToUse = keyToUse.Substring("X-Foo-".Length);
}

if (context.ResponseData.IsHeaderPresent($"X-Foo-{nameFooMap}"))
if (context.ResponseData.IsHeaderPresent($"X-Foo-{keyToUse}"))
{
headersForFooMap.Add(
keyToUse,
context.ResponseData.GetHeaderValue($"X-Foo-{nameFooMap}")
context.ResponseData.GetHeaderValue($"X-Foo-{keyToUse}")
);
}
}
Expand Down

0 comments on commit ecff398

Please sign in to comment.