Skip to content

Commit

Permalink
Merge pull request #317 from hezhizhen/typos
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
k8s-ci-robot authored Feb 22, 2023
2 parents f4e498b + be45ad2 commit d278022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/v1alpha1/kwokctl_configuration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ type KwokctlConfigurationOptions struct {
KubeSchedulerImage string `json:"kubeSchedulerImage,omitempty"`

// KwokControllerImage is the image of Kwok.
// is the default value for flag --contoller-image and env KWOK_CONTROLLER_IMAGE
// is the default value for flag --controller-image and env KWOK_CONTROLLER_IMAGE
KwokControllerImage string `json:"kwokControllerImage,omitempty"`

// PrometheusImage is the image of Prometheus.
Expand Down
2 changes: 1 addition & 1 deletion pkg/kwokctl/pki/pkiutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func writeKey(pkiPath, name string, key crypto.Signer) error {
return nil
}

// encodeCertPEM returns PEM-endcoded certificate data
// encodeCertPEM returns PEM-encoded certificate data
func encodeCertPEM(cert *x509.Certificate) []byte {
block := pem.Block{
Type: CertificateBlockType,
Expand Down

0 comments on commit d278022

Please sign in to comment.