summaryrefslogtreecommitdiffstats
path: root/modules/convert/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/utils.go')
-rw-r--r--modules/convert/utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/convert/utils.go b/modules/convert/utils.go
index 69de306689..a0463d7b10 100644
--- a/modules/convert/utils.go
+++ b/modules/convert/utils.go
@@ -33,6 +33,8 @@ func ToGitServiceType(value string) structs.GitServiceType {
return structs.GitlabService
case "gogs":
return structs.GogsService
+ case "onedev":
+ return structs.OneDevService
default:
return structs.PlainGitService
}