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: order of volumesnapshot syncers #1965

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

FabianKramm
Copy link
Member

@FabianKramm FabianKramm commented Jul 19, 2024

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

Moved CRD creation into the mapper as the index for the mappers are called before the Init function for controllers was called. To avoid confusion the Initializer function was removed as well.

Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for vcluster-docs canceled.

Name Link
🔨 Latest commit 94a1c24
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/669a6c5b8e31b1000857099e

pkg/patcher/patcher.go Outdated Show resolved Hide resolved
pkg/util/crds.go Outdated Show resolved Hide resolved
@FabianKramm FabianKramm force-pushed the pv-vsc-syncer branch 2 times, most recently from bc00ca3 to c86128e Compare July 19, 2024 13:26
@@ -30,7 +30,7 @@ type fakeManager struct {

func (f *fakeManager) SetFields(interface{}) error { return nil }

func (f *fakeManager) GetConfig() *rest.Config { return &rest.Config{Host: "127.0.0.1"} }
func (f *fakeManager) GetConfig() *rest.Config { return &rest.Config{Host: "unit-test-client"} }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it still used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this actually is still a good idea as this shows up in tests a lot nicer than 127.0.0.1

@FabianKramm FabianKramm merged commit aeebdf6 into loft-sh:main Jul 19, 2024
71 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