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

Update github.com/imdario/mergo to v0.3.16 or higher #1618

Open
nmiculinic opened this issue Jan 15, 2025 · 0 comments
Open

Update github.com/imdario/mergo to v0.3.16 or higher #1618

nmiculinic opened this issue Jan 15, 2025 · 0 comments

Comments

@nmiculinic
Copy link

Currently dependency github.com/imdario/mergo is at v0.3.15.

I'm writing code-generation code creating ClickhouseInstalation CRDs, thus would like to import APIs. Other project parts use github.com/imdario/mergo is at v0.3.16. Thus I'm having following compilation errors:

# github.com/altinity/clickhouse-operator/pkg/apis/clickhouse.altinity.com/v1
../../go/pkg/mod/github.com/altinity/[email protected]/pkg/apis/clickhouse.altinity.com/v1/type_templates.go:181:54: undefined: mergo.WithSliceDeepMerge
../../go/pkg/mod/github.com/altinity/[email protected]/pkg/apis/clickhouse.altinity.com/v1/type_templates.go:219:54: undefined: mergo.WithSliceDeepMerge
../../go/pkg/mod/github.com/altinity/[email protected]/pkg/apis/clickhouse.altinity.com/v1/type_templates.go:252:54: undefined: mergo.WithSliceDeepMerge

thus I have to resort to unstructured.Unstructured and not go API components

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

No branches or pull requests

1 participant