Remove length constraint (#190)

This commit is contained in:
Alberto Fernández 2020-04-17 01:05:00 +02:00 committed by GitHub
parent bf3824cc10
commit 67542608a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {