mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
FieldManager: Fix little bug/omission
This has been moved to a different method but was not removed.
This commit is contained in:
@@ -46,7 +46,6 @@ func DecodeObjectManagedFields(from runtime.Object) (fieldpath.ManagedFields, er
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("couldn't get accessor: %v", err)
|
||||
}
|
||||
accessor.SetManagedFields(nil)
|
||||
|
||||
managed, err := decodeManagedFields(accessor.GetManagedFields())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user