Skip to content

Commit a22ca2c

Browse files
authored
chore: fix some typos in comments (#8943)
Signed-off-by: racequite <[email protected]>
1 parent 2894dd3 commit a22ca2c

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

docs/common/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sudo mount --bind /var/lib/kubelet /var/lib/kubelet && sudo mount --make-shared
3131
```
3232
You can find more information [here](https://github.com/kubernetes/kubernetes/issues/4869#issuecomment-193640483).
3333

34-
### I am seeing 404 errors when trying to access Dashbord. Dashboard resources can not be loaded.
34+
### I am seeing 404 errors when trying to access Dashboard. Dashboard resources can not be loaded.
3535

3636
```
3737
GET https://<IP>/api/v1/namespaces/kube-system/services/kubernetes-dashboard/static/vendor.9aa0b786.css

docs/user/labels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Labels used to determine issue kind.
99
* `kind/bug` - bugs, that need to be fixed. Assigned when something is not working as it was expected.
1010
* `kind/cleanup` - issues created in order to enhance code quality without changing application functionality.
1111
* `kind/documentation` - documentation, that need to be improved or updated.
12-
* `kind/failing-test` - blocker of CI jobs, that should be fixed as soon as posible.
12+
* `kind/failing-test` - blocker of CI jobs, that should be fixed as soon as possible.
1313
* `kind/feature` - new features, that could be added to the application.
1414
* `kind/support` - issue that is a support question.
1515

modules/api/pkg/resource/container/logs_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func TestGetLogs(t *testing.T) {
321321
LineNum: 1,
322322
},
323323
OffsetFrom: -10,
324-
OffsetTo: -8, // request indices ouside (beginning) of available log lines
324+
OffsetTo: -8, // request indices outside (beginning) of available log lines
325325
LogFilePosition: "end",
326326
},
327327
&logs.LogDetails{

modules/api/pkg/resource/dataselect/stdcomparabletypes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
// These types specify how given value should be compared
2424
// They all implement ComparableValueInterface
2525
// You can convert basic types to these types to support auto sorting etc.
26-
// If you cant find your type compare here you will have to implement it yourself :)
26+
// If you can't find your type compare here you will have to implement it yourself :)
2727

2828
type StdComparableInt int
2929

modules/api/pkg/resource/limitrange/detail.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ package limitrange
1616

1717
import api "k8s.io/api/core/v1"
1818

19-
// limitRanges provides set of limit ranges by limit types and resource names
19+
// limitRangesMap provides set of limit ranges by limit types and resource names
2020
type limitRangesMap map[api.LimitType]rangeMap
2121

2222
// rangeMap provides limit ranges by resource name

modules/api/pkg/resource/pod/detail.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ type Container struct {
103103
ReadinessProbe *v1.Probe `json:"readinessProbe"`
104104
StartupProbe *v1.Probe `json:"startupProbe"`
105105

106-
// Resource Requirments
106+
// Resource Requirements
107107
Resources v1.ResourceRequirements `json:"resources,omitempty"`
108108
}
109109

modules/common/client/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func Init(options ...Option) {
219219

220220
func isInitialized() bool {
221221
if baseConfig == nil {
222-
klog.Errorf(`k8s.io/dasboard/client' package has not been initialized properly. Run 'client.Init(...)' to initialize it. `)
222+
klog.Errorf(`k8s.io/dashboard/client' package has not been initialized properly. Run 'client.Init(...)' to initialize it. `)
223223
return false
224224
}
225225

0 commit comments

Comments
 (0)