Skip to content

Commit 84a8cf7

Browse files
authored
Merge pull request #3864 from shraddhabang/main
GO2 SDK Migration bug fix on comparators
2 parents 6965e9d + 9bced78 commit 84a8cf7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pkg/equality/elbv2/compare_option_for_actions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ func CompareOptionForForwardActionConfig() cmp.Option {
3030
return cmp.Options{
3131
equality.IgnoreLeftHandUnset(elbv2types.ForwardActionConfig{}, "TargetGroupStickinessConfig"),
3232
cmpopts.IgnoreUnexported(elbv2types.ForwardActionConfig{}),
33+
cmpopts.IgnoreUnexported(elbv2types.TargetGroupStickinessConfig{}),
3334
CompareOptionForTargetGroupTuples(),
3435
}
3536
}

pkg/equality/elbv2/compare_option_for_rule_conditions.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ func CompareOptionForRuleCondition() cmp.Option {
1111
return cmp.Options{
1212
cmpopts.IgnoreUnexported(elbv2types.RuleCondition{}),
1313
cmpopts.IgnoreUnexported(elbv2types.HostHeaderConditionConfig{}),
14+
cmpopts.IgnoreUnexported(elbv2types.HttpHeaderConditionConfig{}),
1415
cmpopts.IgnoreUnexported(elbv2types.HttpRequestMethodConditionConfig{}),
1516
cmpopts.IgnoreUnexported(elbv2types.PathPatternConditionConfig{}),
1617
cmpopts.IgnoreUnexported(elbv2types.QueryStringConditionConfig{}),
18+
cmpopts.IgnoreUnexported(elbv2types.QueryStringKeyValuePair{}),
1719
cmpopts.IgnoreUnexported(elbv2types.SourceIpConditionConfig{}),
1820
cmpopts.IgnoreFields(elbv2types.RuleCondition{}, "Values"),
1921
}

0 commit comments

Comments
 (0)