Fix typo in gitea downloader test and add missing codebase in ToGitServiceType
(#33146)
This commit is contained in:
parent
9c00e065a1
commit
e177239529
3 changed files with 13 additions and 3 deletions
|
@ -36,6 +36,8 @@ func ToGitServiceType(value string) structs.GitServiceType {
|
|||
return structs.OneDevService
|
||||
case "gitbucket":
|
||||
return structs.GitBucketService
|
||||
case "codebase":
|
||||
return structs.CodebaseService
|
||||
case "codecommit":
|
||||
return structs.CodeCommitService
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue