Skip to content

Commit 44f254d

Browse files
authored
Merge pull request kubernetes#76922 from xichengliudui/small-bug
Fix two minor bugs in kubeadm
2 parents 137aa9f + a5b88f6 commit 44f254d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/kubeadm/app/util/apiclient/wait.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func (w *KubeWaiter) WaitForStaticPodHashChange(nodeName, component, previousHas
238238
})
239239
}
240240

241-
// getStaticSinglePodHash computes hashes for a single Static Pod resource
241+
// getStaticPodSingleHash computes hashes for a single Static Pod resource
242242
func getStaticPodSingleHash(client clientset.Interface, nodeName string, component string) (string, error) {
243243

244244
staticPodName := fmt.Sprintf("%s-%s", component, nodeName)

cmd/kubeadm/app/util/config/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func getNodeRegistration(kubeconfigDir string, client clientset.Interface, nodeR
135135
return nil
136136
}
137137

138-
// getNodeNameFromConfig gets the node name from a kubelet config file
138+
// getNodeNameFromKubeletConfig gets the node name from a kubelet config file
139139
// TODO: in future we want to switch to a more canonical way for doing this e.g. by having this
140140
// information in the local kubelet config.yaml
141141
func getNodeNameFromKubeletConfig(kubeconfigDir string) (string, error) {

0 commit comments

Comments
 (0)