Skip to content

Commit

Permalink
Merge pull request #1571 from marquiz/devel/nfd-master-status-patching
Browse files Browse the repository at this point in the history
nfd-master: fix node status patching
  • Loading branch information
k8s-ci-robot authored Jan 26, 2024
2 parents a66e1d3 + 2382c34 commit fe69118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nfd-master/nfd-master.go
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ func (m *nfdMaster) patchNode(nodeName string, patches []utils.JsonPatch, subres
}
data, err := json.Marshal(patches)
if err == nil {
_, err = m.k8sClient.CoreV1().Nodes().Patch(context.TODO(), nodeName, types.JSONPatchType, data, metav1.PatchOptions{})
_, err = m.k8sClient.CoreV1().Nodes().Patch(context.TODO(), nodeName, types.JSONPatchType, data, metav1.PatchOptions{}, subresources...)
}
return err
}
Expand Down

0 comments on commit fe69118

Please sign in to comment.