Unverified Commit 16252188 authored by coderwander's avatar coderwander Committed by GitHub

chore: fix some typos in comments (#3243)

Signed-off-by: 's avatarcoderwander <770732124@qq.com>
parent b0b9513d
...@@ -150,7 +150,7 @@ func parseCronSegment(segment string, min int, max int) (map[int]struct{}, error ...@@ -150,7 +150,7 @@ func parseCronSegment(segment string, min int, max int) (map[int]struct{}, error
switch len(rangeParts) { switch len(rangeParts) {
case 1: case 1:
if step != 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]) parsed, err := strconv.Atoi(rangeParts[0])
if err != nil { if err != nil {
......
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh # 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 SWAG_API_DIRS=./server/route/api/v1
# Where general API info is documented # Where general API info is documented
......
...@@ -2909,7 +2909,7 @@ definitions: ...@@ -2909,7 +2909,7 @@ definitions:
owner: owner:
type: string type: string
title: |- title: |-
The name of intance owner. The name of instance owner.
Format: "users/{id}" Format: "users/{id}"
version: version:
type: string type: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment