From 67542608a2929b52a5be9b3d3eddfa0b0e589c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Fern=C3=A1ndez?= Date: Fri, 17 Apr 2020 01:05:00 +0200 Subject: [PATCH] Remove length constraint (#190) --- pkg/runner/run_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index 6d9c387..980a98e 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -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 {