Skip to content

Commit

Permalink
Merge pull request #9725 from hytao/fixTypo
Browse files Browse the repository at this point in the history
Fix a typo in CDN module conversion helper.
  • Loading branch information
cormacpayne authored Jul 29, 2019
2 parents d9fc222 + 98a735b commit c507658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Cdn/Cdn/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->

## Upcoming Release
* Fixed a typo in CDN module conversion helper

## Version 1.3.0
* Updated cmdlets to support rulesEngine feature based on API version 2019-04-15.
Expand Down
4 changes: 2 additions & 2 deletions src/Cdn/Cdn/Helpers/ModelExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static PSDeliveryRuleAction ToPsDeliveryRuleAction(this DeliveryRuleActio
{
return new PSDeliveryRuleHeaderAction
{
HeaderActionType = "ModifyRequestHeader",
HeaderActionType = "ModifyResponseHeader",
Action = responseHeaderAction.Parameters.HeaderAction,
HeaderName = responseHeaderAction.Parameters.HeaderName,
Value = responseHeaderAction.Parameters.Value
Expand Down Expand Up @@ -553,7 +553,7 @@ public static DeliveryRuleAction ToDeliveryRuleAction(this PSDeliveryRuleAction
}
else if (psDeliveryRuleHeaderAction.HeaderActionType == "ModifyResponseHeader")
{
return new DeliveryRuleRequestHeaderAction
return new DeliveryRuleResponseHeaderAction
{
Parameters = new HeaderActionParameters
{
Expand Down

0 comments on commit c507658

Please sign in to comment.