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: do not use pointers for env maps #79

Merged
merged 1 commit into from
Feb 27, 2024
Merged

fix: do not use pointers for env maps #79

merged 1 commit into from
Feb 27, 2024

Conversation

ctrox
Copy link
Contributor

@ctrox ctrox commented Feb 26, 2024

using pointers breaks kong's arg parsing somewhat as it fails to merge multiple values of the same arg. Removing the pointer fixes that while still making it possible to detect if the arg has been supplied or not as a map has nil as the zero value.

update/application.go Outdated Show resolved Hide resolved
using pointers breaks kong's arg parsing somewhat as it fails to merge
multiple values of the same arg. Removing the pointer fixes that while
still making it possible to detect if the arg has been supplied or not
as a map has nil as the zero value.
Copy link
Contributor

@thirdeyenick thirdeyenick left a comment

Choose a reason for hiding this comment

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

👍

@ctrox ctrox merged commit 7867a7c into main Feb 27, 2024
2 checks passed
@ctrox ctrox deleted the fix-env-update branch February 27, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants