mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
Remove length constraint (#190)
This commit is contained in:
parent
249ebdb066
commit
479dc5b094
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue