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(config): make sure to escape quotation for migration of services config #4369

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

aarnphm
Copy link
Contributor

@aarnphm aarnphm commented Dec 27, 2023

What does this PR address?

This addresses services that have custom name such as llm-phi-runner. By default, unflatten_dict will create quotation for this, which means the flattened dict of the override config would be 'services."llm-phi-runner".workers'.

For this to work correct, we need to remove all quotation from the service config name, as this is considered as valid string.

Fixes #(issue)

Before submitting:

@aarnphm aarnphm requested a review from a team as a code owner December 27, 2023 22:37
@aarnphm aarnphm requested review from ssheng and removed request for a team December 27, 2023 22:37
@frostming frostming merged commit 1177a4f into 1.2 Dec 28, 2023
40 of 41 checks passed
@frostming frostming deleted the fix/migration-logic branch December 28, 2023 01:06
frostming pushed a commit that referenced this pull request Jan 17, 2024
…config (#4369)

fix(config): make sure to strip quotation for custom name

Signed-off-by: Aaron <[email protected]>
frostming pushed a commit that referenced this pull request Feb 1, 2024
…config (#4369)

fix(config): make sure to strip quotation for custom name

Signed-off-by: Aaron <[email protected]>
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