clean up test

Kubernetes-commit: 8f6d7f1fa13db3d7a3354a13f014e1ce7acabda0
This commit is contained in:
Alexander Zielenski
2022-08-24 10:24:05 -07:00
committed by Kubernetes Publisher
parent ced85a8521
commit 46dc22f46a
2 changed files with 45 additions and 36 deletions

View File

@@ -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 {