mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-22 06:45:03 +01:00
Remove length constraint (#190)
This commit is contained in:
committed by
GitHub
parent
bf3824cc10
commit
67542608a2
@@ -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