Skip to content

Commit

Permalink
GO2 SDK Migration bug fix on comparators
Browse files Browse the repository at this point in the history
  • Loading branch information
shraddhabang committed Sep 26, 2024
1 parent 6965e9d commit 9bced78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/equality/elbv2/compare_option_for_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func CompareOptionForForwardActionConfig() cmp.Option {
return cmp.Options{
equality.IgnoreLeftHandUnset(elbv2types.ForwardActionConfig{}, "TargetGroupStickinessConfig"),
cmpopts.IgnoreUnexported(elbv2types.ForwardActionConfig{}),
cmpopts.IgnoreUnexported(elbv2types.TargetGroupStickinessConfig{}),
CompareOptionForTargetGroupTuples(),
}
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/equality/elbv2/compare_option_for_rule_conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ func CompareOptionForRuleCondition() cmp.Option {
return cmp.Options{
cmpopts.IgnoreUnexported(elbv2types.RuleCondition{}),
cmpopts.IgnoreUnexported(elbv2types.HostHeaderConditionConfig{}),
cmpopts.IgnoreUnexported(elbv2types.HttpHeaderConditionConfig{}),
cmpopts.IgnoreUnexported(elbv2types.HttpRequestMethodConditionConfig{}),
cmpopts.IgnoreUnexported(elbv2types.PathPatternConditionConfig{}),
cmpopts.IgnoreUnexported(elbv2types.QueryStringConditionConfig{}),
cmpopts.IgnoreUnexported(elbv2types.QueryStringKeyValuePair{}),
cmpopts.IgnoreUnexported(elbv2types.SourceIpConditionConfig{}),
cmpopts.IgnoreFields(elbv2types.RuleCondition{}, "Values"),
}
Expand Down

0 comments on commit 9bced78

Please sign in to comment.