Skip to content

fix: use Kong config loader for HCL globals#98

Merged
alecthomas merged 1 commit intomainfrom
aat/kong-config-loader
Feb 6, 2026
Merged

fix: use Kong config loader for HCL globals#98
alecthomas merged 1 commit intomainfrom
aat/kong-config-loader

Conversation

@alecthomas
Copy link
Copy Markdown
Collaborator

@alecthomas alecthomas commented Feb 6, 2026

hcl.Unmarshal() was overwriting envars/flags, with this approach the HCL is correctly integrated into the CLI parsing.

Also refactored main() into separate functions.

`hcl.Unmarshal()` was overwriting envars/flags, with this approach the
HCL is correctly integrated into the CLI parsing.
@alecthomas alecthomas requested a review from nssherpa February 6, 2026 22:32
@alecthomas alecthomas requested a review from a team as a code owner February 6, 2026 22:32
@alecthomas alecthomas merged commit f1440b8 into main Feb 6, 2026
5 checks passed
@alecthomas alecthomas deleted the aat/kong-config-loader branch February 6, 2026 23:00
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.

1 participant