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: use default API cluster in autocomplete predictor #147

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

ctrox
Copy link
Contributor

@ctrox ctrox commented Aug 28, 2024

Instead of trying to call parse to default to the kong value, we now put the defualt API cluster into a const and use it in the default and when constructing the completion client. Additionally we check if the env var has been set to override the cluster.

Instead of trying to call parse to default to the kong value, we now put
the defualt API cluster into a const and use it in the default and when
constructing the completion client. Additionally we check if the env var
has been set to override the cluster.
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 3e0699f into main Aug 28, 2024
2 checks passed
@ctrox ctrox deleted the predictor-default-cluster branch August 28, 2024 08:52
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