Skip to content

Commit 54e2d2d

Browse files
authored
Merge pull request #576 from AlexanderYastrebov/fix-codespell-typos
all: fix typos discovered by codespell
2 parents ffcbfce + 16ec43c commit 54e2d2d

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ contribution is in line with our goals.
5050
- Make sure you sign-off on your commits `git commit -s -m "adding X to change Y"`
5151
- Write good commit messages (see below).
5252
- Push your changes to a topic branch in your fork of the repository.
53-
- As you push your changes, update the pull request with new infomation and tasks as you complete them
53+
- As you push your changes, update the pull request with new information and tasks as you complete them
5454
- Project maintainers might comment on your work as you progress
5555
- When you are done, remove the `work in progess` label and ping the maintainers for a review
5656
- Your pull request must receive a :thumbsup: from two [maintainers](MAINTAINERS)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ spec:
449449
```
450450
### Multiple hostnames per metric
451451

452-
This metric supports a relation of n:1 between hostnames and metrics. The way it works is the measured RPS is the sum of the RPS rate of each of the specified hostnames. This value is further modified by the weight parameter explained bellow.
452+
This metric supports a relation of n:1 between hostnames and metrics. The way it works is the measured RPS is the sum of the RPS rate of each of the specified hostnames. This value is further modified by the weight parameter explained below.
453453

454454
### Metric weighting based on backend
455455

docs/cluster_scaling_schedules_crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
properties:
5757
date:
5858
description: Defines the starting date of a OneTime schedule.
59-
It has to be a RFC3339 formated date.
59+
It has to be a RFC3339 formatted date.
6060
format: date-time
6161
type: string
6262
durationMinutes:
@@ -65,7 +65,7 @@ spec:
6565
type: integer
6666
endDate:
6767
description: Defines the ending date of a OneTime schedule.
68-
It must be a RFC3339 formated date.
68+
It must be a RFC3339 formatted date.
6969
format: date-time
7070
type: string
7171
period:

docs/helm/templates/cluster_scaling_schedules_crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
properties:
5757
date:
5858
description: Defines the starting date of a OneTime schedule.
59-
It has to be a RFC3339 formated date.
59+
It has to be a RFC3339 formatted date.
6060
format: date-time
6161
type: string
6262
durationMinutes:
@@ -65,7 +65,7 @@ spec:
6565
type: integer
6666
endDate:
6767
description: Defines the ending date of a OneTime schedule.
68-
It must be a RFC3339 formated date.
68+
It must be a RFC3339 formatted date.
6969
format: date-time
7070
type: string
7171
period:

docs/helm/templates/scaling_schedules_crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
properties:
5959
date:
6060
description: Defines the starting date of a OneTime schedule.
61-
It has to be a RFC3339 formated date.
61+
It has to be a RFC3339 formatted date.
6262
format: date-time
6363
type: string
6464
durationMinutes:
@@ -67,7 +67,7 @@ spec:
6767
type: integer
6868
endDate:
6969
description: Defines the ending date of a OneTime schedule.
70-
It must be a RFC3339 formated date.
70+
It must be a RFC3339 formatted date.
7171
format: date-time
7272
type: string
7373
period:

docs/scaling_schedules_crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
properties:
5959
date:
6060
description: Defines the starting date of a OneTime schedule.
61-
It has to be a RFC3339 formated date.
61+
It has to be a RFC3339 formatted date.
6262
format: date-time
6363
type: string
6464
durationMinutes:
@@ -67,7 +67,7 @@ spec:
6767
type: integer
6868
endDate:
6969
description: Defines the ending date of a OneTime schedule.
70-
It must be a RFC3339 formated date.
70+
It must be a RFC3339 formatted date.
7171
format: date-time
7272
type: string
7373
period:

pkg/apis/zalando.org/v1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ type Schedule struct {
6868
// +optional
6969
Period *SchedulePeriod `json:"period,omitempty"`
7070
// Defines the starting date of a OneTime schedule. It has to
71-
// be a RFC3339 formated date.
71+
// be a RFC3339 formatted date.
7272
// +optional
7373
Date *ScheduleDate `json:"date,omitempty"`
7474
// Defines the ending date of a OneTime schedule. It must be
75-
// a RFC3339 formated date.
75+
// a RFC3339 formatted date.
7676
// +optional
7777
EndDate *ScheduleDate `json:"endDate,omitempty"`
7878
// The duration in minutes (default 0) that the configured value will be

pkg/collector/skipper_collector_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ func TestTargetRefReplicasStatefulSets(t *testing.T) {
6161
require.Equal(t, statefulSet.Status.Replicas, replicas)
6262
}
6363

64-
func newHPA(namesapce string, refName string, refKind string) *autoscalingv2.HorizontalPodAutoscaler {
64+
func newHPA(namespace string, refName string, refKind string) *autoscalingv2.HorizontalPodAutoscaler {
6565
return &autoscalingv2.HorizontalPodAutoscaler{
6666
ObjectMeta: metav1.ObjectMeta{
67-
Name: namesapce,
67+
Name: namespace,
6868
},
6969
Spec: autoscalingv2.HorizontalPodAutoscalerSpec{
7070
ScaleTargetRef: autoscalingv2.CrossVersionObjectReference{

pkg/provider/hpa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ func collectorRunner(ctx context.Context, collector collector.Collector, metrics
363363
}
364364
}
365365

366-
// Remove removes a collector from the Collector schduler. The collector is
366+
// Remove removes a collector from the Collector scheduler. The collector is
367367
// stopped before it's removed.
368368
func (t *CollectorScheduler) Remove(resourceRef resourceReference) {
369369
t.Lock()

pkg/server/start.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func (o AdapterServerOptions) RunCustomMetricsAdapterServer(stopCh <-chan struct
332332
return fmt.Errorf("failed to register ScalingSchedule object collector plugin: %v", err)
333333
}
334334

335-
// setup ScheduledScaling controller to continously update
335+
// setup ScheduledScaling controller to continuously update
336336
// status of ScalingSchedule and ClusterScalingSchedule
337337
// resources.
338338
scheduledScalingController := scheduledscaling.NewController(scalingScheduleClient.ZalandoV1(), scalingSchedulesStore, clusterScalingSchedulesStore, time.Now, o.DefaultScheduledScalingWindow, o.DefaultTimeZone)
@@ -400,7 +400,7 @@ func newOauth2HTTPClient(ctx context.Context, tokenSource oauth2.TokenSource) *h
400400
// add HTTP client to context (this is how the oauth2 lib gets it).
401401
ctx = context.WithValue(ctx, oauth2.HTTPClient, client)
402402

403-
// instantiate an http.Client containg the token source.
403+
// instantiate an http.Client containing the token source.
404404
return oauth2.NewClient(ctx, tokenSource)
405405
}
406406

0 commit comments

Comments
 (0)