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/refactor: remove need to pass cli.Config to subcommands #1813

Merged
merged 2 commits into from
May 31, 2024

Conversation

rohantmp
Copy link
Contributor

Earlier, vcluster platform add cluster had an uninitialized config.

I think generating from GlobalFlags reduces the need to drill down another var

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

Copy link

netlify bot commented May 30, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 4285ba0
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/665994dfd6613a0008dafb72

pkg/cli/flags/flags.go Outdated Show resolved Hide resolved
@rohantmp
Copy link
Contributor Author

This will probably need a last minute rebase again even if I rebase now given the files it touches. Let me know when reviewing and I'll do it then :)

@rohantmp rohantmp marked this pull request as ready for review May 31, 2024 03:49
@rohantmp rohantmp force-pushed the fixAddCluster branch 2 times, most recently from 5d8e2db to 18a0cf4 Compare May 31, 2024 07:39
earlier, `vcluster platform add cluster` had an unintialized config

Signed-off-by: Rohan CJ <rohantmp@gmail.com>
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
@ThomasK33 ThomasK33 merged commit b26f40f into loft-sh:main May 31, 2024
72 checks passed
@rohantmp rohantmp deleted the fixAddCluster branch May 31, 2024 09:45
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.

3 participants