Skip to content

Commit

Permalink
Migrate aws sdk go v1 to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
shraddhabang committed Sep 5, 2024
1 parent 3a5ffdb commit 9961470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/deploy/elbv2/listener_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func isListenerNotFoundError(err error) bool {
if errors.As(err, &apiErr) {
code := apiErr.ErrorCode()

return code == "ResourceInUse"
return code == "ListenerNotFound"
}
return false
}
2 changes: 1 addition & 1 deletion pkg/ingress/group_loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,7 @@ func Test_defaultGroupLoader_sortGroupMembers(t *testing.T) {
},
},
want: nil,
wantErr: errors.New("failed to load Ingress group order for ingress: namespace/ingress: failed to parse int64 annotation, alb.ingress.kubernetes.io/group.order: x: strconv.ParseInt: parsing \"x\": invalid syntax"),
wantErr: errors.New("failed to load Ingress group order for ingress: namespace/ingress: failed to parse int32 annotation, alb.ingress.kubernetes.io/group.order: x: strconv.ParseInt: parsing \"x\": invalid syntax"),
},
{
name: "two ingress with the same order should be sorted lexically",
Expand Down

0 comments on commit 9961470

Please sign in to comment.