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: refactor backend http setting port resolution #1090

Merged
merged 3 commits into from Jan 22, 2021

Conversation

akshaysngupta
Copy link
Member

@akshaysngupta akshaysngupta commented Dec 14, 2020

Checklist

  • The title of the PR is clear and informative
  • If applicable, the changes made in the PR have proper test coverage
  • Issues addressed by the PR are mentioned in the description followed by Fixes.

Description

This PR refactors the backend http setting generation code to make it easier to read.
Also, this fixes a bug in the backend http setting generation where AGIC used to stop generating the backend http setting when there was an error.

Fixes

Copy link
Contributor

@3quanfeng 3quanfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review the comments made

pkg/appgw/backendhttpsettings.go Outdated Show resolved Hide resolved
pkg/appgw/backendhttpsettings.go Outdated Show resolved Hide resolved
pkg/controllererrors/errorcodes.go Outdated Show resolved Hide resolved
Copy link
Contributor

@3quanfeng 3quanfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@akshaysngupta akshaysngupta merged commit 5de47a0 into master Jan 22, 2021
@akshaysngupta akshaysngupta deleted the aksgupta/continue branch January 22, 2021 20:11
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.

None yet

2 participants