From add0e5e290211649e5073296a63533c9d4eaca0b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 9 May 2026 07:27:08 +0000 Subject: [PATCH] fix zero-padded cache pvc namespace suffix Agent-Logs-Url: https://github.com/velero-io/velero/sessions/7f0d29fc-2b25-469f-abfa-8cef55e1a3a1 Co-authored-by: blackpiglet <59276555+blackpiglet@users.noreply.github.com> --- test/e2e/nodeagentconfig/cache_pvc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/nodeagentconfig/cache_pvc.go b/test/e2e/nodeagentconfig/cache_pvc.go index 9104946c7..4f3551c7a 100644 --- a/test/e2e/nodeagentconfig/cache_pvc.go +++ b/test/e2e/nodeagentconfig/cache_pvc.go @@ -57,7 +57,7 @@ func (c *CachePVCTestCase) Init() error { c.NamespacesTotal = 1 c.NSIncluded = &[]string{} for nsNum := 0; nsNum < c.NamespacesTotal; nsNum++ { - createNSName := fmt.Sprintf("%s-%00000d", c.CaseBaseName, nsNum) + createNSName := fmt.Sprintf("%s-%05d", c.CaseBaseName, nsNum) *c.NSIncluded = append(*c.NSIncluded, createNSName) }