mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-05-13 02:31:31 +00:00
fix zero-padded cache pvc namespace suffix
Some checks failed
Some checks failed
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>
This commit is contained in:
committed by
GitHub
parent
c45ec750e1
commit
add0e5e290
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user