Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions-21ae8712ed
Browse files Browse the repository at this point in the history
  • Loading branch information
vepatel authored Jan 21, 2025
2 parents b406c46 + ee71d4a commit 8136924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/configs/parsing_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func ParsePortList(s string) ([]int, error) {
}

func parsePort(value string) (int, error) {
port, err := strconv.ParseInt(value, 10, 16)
port, err := strconv.ParseInt(value, 10, 32)
if err != nil {
return 0, fmt.Errorf("unable to parse port as integer: %w", err)
}
Expand Down
4 changes: 2 additions & 2 deletions internal/k8s/validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@ func TestValidateNginxIngressAnnotations(t *testing.T) {

{
annotations: map[string]string{
"nginx.org/listen-ports": "80,8080,9090",
"nginx.org/listen-ports": "80,8080,9090,44313",
},
specServices: map[string]bool{},
isPlus: false,
Expand All @@ -2041,7 +2041,7 @@ func TestValidateNginxIngressAnnotations(t *testing.T) {

{
annotations: map[string]string{
"nginx.org/listen-ports-ssl": "443,8443",
"nginx.org/listen-ports-ssl": "443,8443,44315",
},
specServices: map[string]bool{},
isPlus: false,
Expand Down

0 comments on commit 8136924

Please sign in to comment.