Skip to content

Error with IgnoredFields in merge.Updater when using apimachinery #185

Open
@nkokubo318

Description

Hey Team!

I've encountered an issue when using apimachinery version v0.31.2.

The following error occurs:

../../../../../go/pkg/mod/k8s.io/[email protected]/pkg/util/managedfields/internal/structuredmerge.go:56:4: unknown field IgnoredFields in struct literal of type merge.Updater
../../../../../go/pkg/mod/k8s.io/[email protected]/pkg/util/managedfields/internal/structuredmerge.go:73:4: unknown field IgnoredFields in struct literal of type merge.Updater

It appears that from structured-merge-diff v4.4.2 (a dependency), the IgnoredFields field was removed. After updating the modules, the above error started occurring.

For now, I’ve downgraded structured-merge-diff to v4.4.1 by running the following command:

❯ go get sigs.k8s.io/structured-merge-diff/[email protected]

Thank you to all the contributors! I appreciate any guidance on a long-term solution.

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions