mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-06 17:40:57 +00:00
clean up test
Kubernetes-commit: 8f6d7f1fa13db3d7a3354a13f014e1ce7acabda0
This commit is contained in:
committed by
Kubernetes Publisher
parent
ced85a8521
commit
46dc22f46a
@@ -20,7 +20,7 @@ import (
|
||||
// 3. Client-side apply tends to own more fields (including fields that are defaulted),
|
||||
// this will possibly remove this defaults, they will be re-defaulted, that's fine.
|
||||
// 4. Care must be taken to not overwrite the managed fields on the server if they
|
||||
// have changed during the RMW operation.
|
||||
// have changed before sending a patch.
|
||||
//
|
||||
// csaManager - Name of FieldManager formerly used for `Update` operations
|
||||
// ssaManager - Name of FieldManager formerly used for `Apply` operations
|
||||
@@ -29,7 +29,6 @@ func UpgradeManagedFields(
|
||||
obj runtime.Object,
|
||||
csaManagerName string,
|
||||
ssaManagerName string,
|
||||
subResource string,
|
||||
) (runtime.Object, error) {
|
||||
accessor, err := meta.Accessor(obj)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user