You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
unknown field IgnoredFields in struct literal of type merge.Updater
today, detail:
go build ./...
# k8s.io/apimachinery/pkg/util/managedfields/internal
../../../../pkg/mod/k8s.io/[email protected]/pkg/util/managedfields/internal/structuredmerge.go:56:4: unknown field IgnoredFields in struct literal of type merge.Updater
../../../../pkg/mod/k8s.io/[email protected]/pkg/util/managedfields/internal/structuredmerge.go:73:4: unknown field IgnoredFields in struct literal of type merge.Updater
Hey Team!
I've encountered an issue when using apimachinery version v0.31.2.
The following error occurs:
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:Thank you to all the contributors! I appreciate any guidance on a long-term solution.
The text was updated successfully, but these errors were encountered: