Skip to content

Commit 73686de

Browse files
committed
CARRY 5f1c7ae: Stamp fake client apply reuqests with name from action
On-behalf-of: @SAP [email protected]
1 parent 002b090 commit 73686de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

third_party/k8s.io/client-go/testing/fixture.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ func (o scopedObjectTrackerReact) Apply(action PatchActionImpl) (runtime.Object,
266266
if err := yaml.Unmarshal(action.GetPatch(), &patchObj.Object); err != nil {
267267
return nil, err
268268
}
269+
patchObj.SetName(action.GetName())
269270
err := o.tracker.Apply(gvr, patchObj, ns, action.PatchOptions)
270271
if err != nil {
271272
return nil, err

0 commit comments

Comments
 (0)