From 147666f10ffda284f72d05b728b030b59adddea9 Mon Sep 17 00:00:00 2001
From: qingsenLi
Date: Sat, 9 Mar 2019 00:22:06 +0800
Subject: [PATCH] spelling error 'heatbeat'
---
pkg/kubelet/kubelet_node_status_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/kubelet/kubelet_node_status_test.go b/pkg/kubelet/kubelet_node_status_test.go
index 02a9723ac37..044faa3b68d 100644
--- a/pkg/kubelet/kubelet_node_status_test.go
+++ b/pkg/kubelet/kubelet_node_status_test.go
@@ -939,7 +939,7 @@ func TestUpdateNodeStatusWithLease(t *testing.T) {
assert.Equal(t, v1.NodeReady, updatedNode.Status.Conditions[len(updatedNode.Status.Conditions)-1].Type,
"NodeReady should be the last condition")
- // Update node status again when nothing is changed (except heatbeat time).
+ // Update node status again when nothing is changed (except heartbeat time).
// Report node status if it has exceeded the duration of nodeStatusReportFrequency.
clock.Step(time.Minute)
assert.NoError(t, kubelet.updateNodeStatus())
@@ -964,7 +964,7 @@ func TestUpdateNodeStatusWithLease(t *testing.T) {
}
assert.True(t, apiequality.Semantic.DeepEqual(expectedNode, updatedNode), "%s", diff.ObjectDiff(expectedNode, updatedNode))
- // Update node status again when nothing is changed (except heatbeat time).
+ // Update node status again when nothing is changed (except heartbeat time).
// Do not report node status if it is within the duration of nodeStatusReportFrequency.
clock.Step(10 * time.Second)
assert.NoError(t, kubelet.updateNodeStatus())