mirror of
https://gitea.com/gitea/act_runner
synced 2026-11-08 10:57:59 +01:00
Remove length constraint (#190)
This commit is contained in:
1 parent
bf3824cc10
commit
67542608a2
1 file changed
+1
-1
@@ -284,7 +284,7 @@ func createContainerName(parts ...string) string {
|
||||
name = append(name, trimToLen(pattern.ReplaceAllString(part, "-"), partLen))
|
||||
}
|
||||
}
|
||||
return trimToLen(strings.Trim(strings.Join(name, "-"), "-"), 30)
|
||||
return strings.Trim(strings.Join(name, "-"), "-")
|
||||
}
|
||||
|
||||
func trimToLen(s string, l int) string {
|
||||
|
||||
Reference in new issue
Block a user