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

gatewayapi: fix reconcilation of nil hostnames #1276

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

aryan9600
Copy link
Member

go-cmp/cmp differentiates between []string{} and nil, which causes problems during reconciliation when .spec.service.hostnames is left blank in the Canary object.

Signed-off-by: Sanskar Jaiswal sanskar.jaiswal@weave.works

Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @aryan9600

@aryan9600 aryan9600 merged commit b96f6f0 into fluxcd:main Oct 10, 2022
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