From 770e56e0103eb4803f3e393dc871eb58fc0df314 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sun, 25 Feb 2024 18:20:07 +0200 Subject: [PATCH] gce: Limit backend names to 63 chars --- pkg/model/gcemodel/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/gcemodel/context.go b/pkg/model/gcemodel/context.go index 555bf84cfb..3edafff047 100644 --- a/pkg/model/gcemodel/context.go +++ b/pkg/model/gcemodel/context.go @@ -105,7 +105,7 @@ func (c *GCEModelContext) NameForHealthCheck(id string) string { } func (c *GCEModelContext) NameForBackendService(id string) string { - return c.SafeObjectName(id) + return c.SafeSuffixedObjectName(id) } func (c *GCEModelContext) NameForForwardingRule(id string) string {