chore: fix some typos in comments (#3243)

Signed-off-by: coderwander <770732124@qq.com>
This commit is contained in:
coderwander 2024-04-16 21:14:38 +08:00 committed by GitHub
parent b0b9513de7
commit 162521885c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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

View file

@ -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