Skip to content

Commit 455dcc0

Browse files
committed
Fix typos in docs and user-facing msgs
1 parent d6381c2 commit 455dcc0

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

ansible/roles/docker/tasks/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
src: daemon.json
99
dest: /etc/docker/daemon.json
1010
when: docker_direct_lvm_enabled|bool == true
11-
# start and verify that Docker installed succesfully and is running
11+
# start and verify that Docker installed successfully and is running
1212
- name: start docker service
1313
service:
1414
name: docker

ansible/roles/preflight/tasks/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
when: "'worker' in group_names"
7575

7676
# kubernetes checks /proc/swaps lines > 1
77-
- name: list memroy swaps in /proc/swaps
77+
- name: list memory swaps in /proc/swaps
7878
command: cat /proc/swaps
7979
register: memory_swaps
8080
failed_when: false

ansible/roles/preflight/tasks/random_ping.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
- name: verify worker to worker node connectivty using IP
2+
- name: verify worker to worker node connectivity using IP
33
command: ping -c 2 {{ item }}
44
with_random_choice: "{{ groups['worker']|map('extract', hostvars, 'internal_ipv4')|list }}"
55
- name: verify worker to worker node connectivity using hostname

docs/kismatic-cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kismatic is the main tool for managing your Kubernetes cluster
66

77

88
kismatic is the main tool for managing your Kubernetes cluster
9-
more documentation is availble at https://github.com/apprenda/kismatic
9+
more documentation is available at https://github.com/apprenda/kismatic
1010

1111
```
1212
kismatic [flags]

docs/kismatic-cli/kismatic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kismatic is the main tool for managing your Kubernetes cluster
66

77

88
kismatic is the main tool for managing your Kubernetes cluster
9-
more documentation is availble at https://github.com/apprenda/kismatic
9+
more documentation is available at https://github.com/apprenda/kismatic
1010

1111
```
1212
kismatic [flags]

docs/kismatic-cli/kismatic_upgrade_offline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Perform an offline upgrade of your Kubernetes cluster
77

88
Perform an offline upgrade of your Kubernetes cluster.
99

10-
The offline upgrade is available for those clusters in which safety and availabilty are not a concern.
10+
The offline upgrade is available for those clusters in which safety and availability are not a concern.
1111
In this mode, the safety and availability checks will not be performed, nor will the nodes in the cluster
1212
be drained of workloads.
1313

docs/upgrade.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ flag to the `kismatic upgrade online` command. The checks will still run, but th
129129
won't prevent the upgrade from running.
130130

131131
## Offline Upgrade
132-
The offline upgrade is available for those clusters in which safety and availabilty are not a concern.
132+
The offline upgrade is available for those clusters in which safety and availability are not a concern.
133133
In this mode, the safety and availability checks will not be performed.
134134

135135
Performing an offline upgrade could result in loss of critical data and reduced service

integration/kismatic_platform_suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func getKismaticReleaseTarball(version string) (string, error) {
168168
}
169169
return tarFile, nil
170170
}
171-
// some other error ocurred
171+
// some other error occurred
172172
return "", fmt.Errorf("failed to stat dir: %v", err)
173173
}
174174

integration/tls/cert.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func NewCert(ca *CA, req csr.CertificateRequest) (key, cert []byte, err error) {
3838
// Get CA private key
3939
caPriv, err := helpers.ParsePrivateKeyPEMWithPassword(ca.Key, []byte(ca.Password))
4040
if err != nil {
41-
return nil, nil, fmt.Errorf("error parsing privte key: %v", err)
41+
return nil, nil, fmt.Errorf("error parsing private key: %v", err)
4242
}
4343
// Parse CA Cert
4444
caCert, err := helpers.ParseCertificatePEM(ca.Cert)

pkg/cli/certificates_generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func doCertificatesGenerate(name string, opts *certificatesGenerateOpts, out io.
8080
if exists && !opts.overwrite {
8181
util.PrettyPrintWarn(out, "Certficate '%s.pem' already exists in '%s' directory, use --overwrite option", name, opts.generatedAssetsDir)
8282
} else {
83-
util.PrettyPrintOk(out, "Certficate '%s.pem' created succesfully in '%s' directory", name, opts.generatedAssetsDir)
83+
util.PrettyPrintOk(out, "Certficate '%s.pem' created successfully in '%s' directory", name, opts.generatedAssetsDir)
8484
}
8585

8686
return nil

pkg/cli/kismatic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func NewKismaticCommand(version string, buildDate string, in io.Reader, out, std
1212
Use: "kismatic",
1313
Short: "kismatic is the main tool for managing your Kubernetes cluster",
1414
Long: `kismatic is the main tool for managing your Kubernetes cluster
15-
more documentation is availble at https://github.com/apprenda/kismatic`,
15+
more documentation is available at https://github.com/apprenda/kismatic`,
1616
Run: func(cmd *cobra.Command, args []string) {
1717
cmd.Help()
1818
},

pkg/cli/upgrade.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func NewCmdUpgradeOffline(in io.Reader, out io.Writer, opts *upgradeOpts) *cobra
7272
Short: "Perform an offline upgrade of your Kubernetes cluster",
7373
Long: `Perform an offline upgrade of your Kubernetes cluster.
7474
75-
The offline upgrade is available for those clusters in which safety and availabilty are not a concern.
75+
The offline upgrade is available for those clusters in which safety and availability are not a concern.
7676
In this mode, the safety and availability checks will not be performed, nor will the nodes in the cluster
7777
be drained of workloads.
7878

pkg/inspector/check/package_manager_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func TestDebPackageManagerPackageNotInstalledButAvailable(t *testing.T) {
200200
t.Errorf("expected true, got false")
201201
}
202202
if err != nil {
203-
t.Errorf("unexpected error ocurred")
203+
t.Errorf("unexpected error occurred")
204204
}
205205
}
206206

pkg/install/pki_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ func TestValidateClusterCertificatesInvalidCerts(t *testing.T) {
767767
plan := test.plan(*p)
768768
warn, errs := pki.ValidateClusterCertificates(&plan)
769769
if len(errs) != 0 {
770-
t.Fatalf("unexpected error ocurred validating certs: %v", err)
770+
t.Fatalf("unexpected error occurred validating certs: %v", err)
771771
}
772772
if len(warn) != test.expectedWarnings {
773773
t.Errorf("expected %d warnings, but got %d. warnings were: %v", test.expectedWarnings, len(warn), warn)

pkg/tls/cert.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func NewCert(ca *CA, req csr.CertificateRequest, expiry time.Duration) (key, cer
3838
// Get CA private key
3939
caPriv, err := helpers.ParsePrivateKeyPEMWithPassword(ca.Key, []byte(ca.Password))
4040
if err != nil {
41-
return nil, nil, fmt.Errorf("error parsing privte key: %v", err)
41+
return nil, nil, fmt.Errorf("error parsing private key: %v", err)
4242
}
4343
// Parse CA Cert
4444
caCert, err := helpers.ParseCertificatePEM(ca.Cert)

0 commit comments

Comments
 (0)