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

support multiple subdomains of the name gateways #2356

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

rawdaGastan
Copy link
Contributor

@rawdaGastan rawdaGastan force-pushed the development_support_subdomain_gateway_name branch 3 times, most recently from 205562b to 84a77ff Compare June 11, 2024 08:17
Comment on lines 579 to 581
if len(subdomains) >= 2 {
reservedName = subdomains[len(subdomains)-1]
}
Copy link
Member

Choose a reason for hiding this comment

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

there is no need for this if statement here this can be like

Suggested change
if len(subdomains) >= 2 {
reservedName = subdomains[len(subdomains)-1]
}
reservedName = subdomains[len(subdomains)-1]

@rawdaGastan rawdaGastan force-pushed the development_support_subdomain_gateway_name branch from 84a77ff to 1038e59 Compare June 11, 2024 09:13
@muhamadazmy muhamadazmy merged commit 66184cd into main Jun 11, 2024
24 checks passed
@muhamadazmy muhamadazmy deleted the development_support_subdomain_gateway_name branch June 11, 2024 09:24
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