mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 09:57:52 +00:00
fix update node condition
This commit is contained in:
@@ -258,7 +258,7 @@ func (m *FakeNodeHandler) UpdateStatus(node *v1.Node) (*v1.Node, error) {
|
||||
// PatchStatus patches a status of a Node in the fake store.
|
||||
func (m *FakeNodeHandler) PatchStatus(nodeName string, data []byte) (*v1.Node, error) {
|
||||
m.RequestCount++
|
||||
return &v1.Node{}, nil
|
||||
return m.Patch(nodeName, types.StrategicMergePatchType, data, "status")
|
||||
}
|
||||
|
||||
// Watch watches Nodes in a fake store.
|
||||
|
Reference in New Issue
Block a user