Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
16252188
Unverified
Commit
16252188
authored
Apr 16, 2024
by
coderwander
Committed by
GitHub
Apr 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix some typos in comments (#3243)
Signed-off-by:
coderwander
<
770732124@qq.com
>
parent
b0b9513d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
schedule.go
internal/cron/schedule.go
+1
-1
gen-api-v1-docs.cfg
scripts/gen-api-v1-docs.cfg
+1
-1
apidocs.swagger.yaml
server/route/api/v2/apidocs.swagger.yaml
+1
-1
No files found.
internal/cron/schedule.go
View file @
16252188
...
...
@@ -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 seg
e
ment 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
{
...
...
scripts/gen-api-v1-docs.cfg
View file @
16252188
# 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 ad
d
itional dirs here if the API grows
SWAG_API_DIRS=./server/route/api/v1
# Where general API info is documented
...
...
server/route/api/v2/apidocs.swagger.yaml
View file @
16252188
...
...
@@ -2909,7 +2909,7 @@ definitions:
owner
:
type
:
string
title
:
|-
The name of intance owner.
The name of in
s
tance owner.
Format: "users/{id}"
version
:
type
:
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment