Skip to content

Commit f542e86

Browse files
authored
Merge pull request kubernetes#93834 from loopever/master
fix typos in cmd/kubeadm and cmd/kube-scheduler
2 parents 33a7ea7 + b645f30 commit f542e86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/kube-scheduler/app/options/insecure_serving.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (o *CombinedInsecureServingOptions) ApplyTo(c *schedulerappconfig.Config, c
9292
return o.applyTo(c, componentConfig)
9393
}
9494

95-
// ApplyToFromLoadedConfig updates the insecure serving options from the component config and then appies it to the given scheduler app configuration.
95+
// ApplyToFromLoadedConfig updates the insecure serving options from the component config and then applies it to the given scheduler app configuration.
9696
func (o *CombinedInsecureServingOptions) ApplyToFromLoadedConfig(c *schedulerappconfig.Config, componentConfig *kubeschedulerconfig.KubeSchedulerConfiguration) error {
9797
if o == nil {
9898
return nil

cmd/kubeadm/app/phases/certs/renewal/filerenewer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ import (
2323
"k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
2424
)
2525

26-
// FileRenewer define a certificate renewer implementation that uses given CA cert and key for generating new certficiates
26+
// FileRenewer define a certificate renewer implementation that uses given CA cert and key for generating new certificates
2727
type FileRenewer struct {
2828
caCert *x509.Certificate
2929
caKey crypto.Signer
3030
}
3131

32-
// NewFileRenewer returns a new certificate renewer that uses given CA cert and key for generating new certficiates
32+
// NewFileRenewer returns a new certificate renewer that uses given CA cert and key for generating new certificates
3333
func NewFileRenewer(caCert *x509.Certificate, caKey crypto.Signer) *FileRenewer {
3434
return &FileRenewer{
3535
caCert: caCert,

0 commit comments

Comments
 (0)