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

fallback to checking if config is in correct format #2111

Conversation

hidalgopl
Copy link
Contributor

if we cannot unmarshal it into legacy config in vcluster config convert

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves ENG-4307

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster config convert fails even if valid config is provided

What else do we need to know?
I initially thought that we can return no error here, but I guess it may be confusing, as it will output an empty diff {}.

@hidalgopl hidalgopl requested a review from a team September 4, 2024 12:20
Copy link

netlify bot commented Sep 4, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 8caf63e
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/66d95f36ae36820008f4aaef

…egacy config in vcluster config convert

Signed-off-by: Paweł Bojanowski <pawelbojanowski@protonmail.com>
@hidalgopl hidalgopl force-pushed the fix-vcluster-convert-config-already-migrated branch from 708af29 to 8caf63e Compare September 5, 2024 07:35
@FabianKramm FabianKramm merged commit 39c1444 into loft-sh:main Sep 5, 2024
61 checks passed
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