Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use net.JoinHostPort and fix semgrep pipeline #3966

Merged
merged 4 commits into from
Dec 7, 2022

Conversation

JorTurFer
Copy link
Member

@JorTurFer JorTurFer commented Dec 6, 2022

Signed-off-by: Jorge Turrado jorge_turrado@hotmail.es

After adding semgrep, some alerts about using fmt.Sprintf($XX, $NET) instead of net.JoinHostPort were raised. This PR solves them replacing all the cases with net.JoinHostPort

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@JorTurFer JorTurFer requested a review from a team as a code owner December 6, 2022 21:57
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@JorTurFer
Copy link
Member Author

JorTurFer commented Dec 6, 2022

/run-e2e
Update: You can check the progress here

@JorTurFer JorTurFer enabled auto-merge (squash) December 6, 2022 22:09
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@JorTurFer
Copy link
Member Author

JorTurFer commented Dec 6, 2022

/run-e2e aws*
Update: You can check the progress here

@JorTurFer JorTurFer merged commit e91e464 into kedacore:main Dec 7, 2022
@JorTurFer JorTurFer deleted the semgrep branch December 7, 2022 06:38
@tomkerkhove
Copy link
Member

Relates to #3961

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants