Use PatchStatus to update node status in kubelet.

This commit is contained in:
Random-Liu
2016-12-01 14:46:20 -08:00
parent 7fe882c479
commit beba1ebbf8
6 changed files with 196 additions and 118 deletions

View File

@@ -91,6 +91,7 @@ func (nsu *nodeStatusUpdater) UpdateNodeStatuses() error {
clonedNode)
}
// TODO: Change to pkg/util/node.UpdateNodeStatus.
oldData, err := json.Marshal(node)
if err != nil {
return fmt.Errorf(