Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #8943

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/common/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sudo mount --bind /var/lib/kubelet /var/lib/kubelet && sudo mount --make-shared
```
You can find more information [here](https://github.com/kubernetes/kubernetes/issues/4869#issuecomment-193640483).

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

```
GET https://<IP>/api/v1/namespaces/kube-system/services/kubernetes-dashboard/static/vendor.9aa0b786.css
Expand Down
2 changes: 1 addition & 1 deletion docs/user/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Labels used to determine issue kind.
* `kind/bug` - bugs, that need to be fixed. Assigned when something is not working as it was expected.
* `kind/cleanup` - issues created in order to enhance code quality without changing application functionality.
* `kind/documentation` - documentation, that need to be improved or updated.
* `kind/failing-test` - blocker of CI jobs, that should be fixed as soon as posible.
* `kind/failing-test` - blocker of CI jobs, that should be fixed as soon as possible.
* `kind/feature` - new features, that could be added to the application.
* `kind/support` - issue that is a support question.

Expand Down
2 changes: 1 addition & 1 deletion modules/api/pkg/resource/container/logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func TestGetLogs(t *testing.T) {
LineNum: 1,
},
OffsetFrom: -10,
OffsetTo: -8, // request indices ouside (beginning) of available log lines
OffsetTo: -8, // request indices outside (beginning) of available log lines
LogFilePosition: "end",
},
&logs.LogDetails{
Expand Down
2 changes: 1 addition & 1 deletion modules/api/pkg/resource/dataselect/stdcomparabletypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
// These types specify how given value should be compared
// They all implement ComparableValueInterface
// You can convert basic types to these types to support auto sorting etc.
// If you cant find your type compare here you will have to implement it yourself :)
// If you can't find your type compare here you will have to implement it yourself :)

type StdComparableInt int

Expand Down
2 changes: 1 addition & 1 deletion modules/api/pkg/resource/limitrange/detail.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package limitrange

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

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

// rangeMap provides limit ranges by resource name
Expand Down
2 changes: 1 addition & 1 deletion modules/api/pkg/resource/pod/detail.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type Container struct {
ReadinessProbe *v1.Probe `json:"readinessProbe"`
StartupProbe *v1.Probe `json:"startupProbe"`

// Resource Requirments
// Resource Requirements
Resources v1.ResourceRequirements `json:"resources,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion modules/common/client/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func Init(options ...Option) {

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

Expand Down
Loading