Remove length constraint (#190)
This commit is contained in:
parent
bf3824cc10
commit
67542608a2
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))
|
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 {
|
func trimToLen(s string, l int) string {
|
||||||
|
|
Loading…
Reference in a new issue