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 #3243

Merged
merged 1 commit into from
Apr 16, 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 internal/cron/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func parseCronSegment(segment string, min int, max int) (map[int]struct{}, error
switch len(rangeParts) {
case 1:
if step != 1 {
return nil, errors.New("invalid segement step - step > 1 could be used only with the wildcard or range format")
return nil, errors.New("invalid segment step - step > 1 could be used only with the wildcard or range format")
}
parsed, err := strconv.Atoi(rangeParts[0])
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen-api-v1-docs.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh

# You should list aditional dirs here if the API grows
# You should list additional dirs here if the API grows
SWAG_API_DIRS=./server/route/api/v1

# Where general API info is documented
Expand Down
2 changes: 1 addition & 1 deletion server/route/api/v2/apidocs.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2909,7 +2909,7 @@ definitions:
owner:
type: string
title: |-
The name of intance owner.
The name of instance owner.
Format: "users/{id}"
version:
type: string
Expand Down