mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-29 11:16:08 +00:00
Field labels for Duration, Time, client.ObjectKey, KibishiiData, VeleroCLI2Version
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
@@ -33,7 +33,7 @@ func (n *NamespaceMapping) Init() error {
|
||||
n.Client = *n.VeleroCfg.ClientToInstallVelero
|
||||
n.VeleroCfg.UseVolumeSnapshots = n.UseVolumeSnapshots
|
||||
n.VeleroCfg.UseNodeAgent = !n.UseVolumeSnapshots
|
||||
n.kibishiiData = &KibishiiData{2, 10, 10, 1024, 1024, 0, 2}
|
||||
n.kibishiiData = &KibishiiData{Levels: 2, DirsPerLevel: 10, FilesPerLevel: 10, FileLength: 1024, BlockSize: 1024, PassNum: 0, ExpectedNodes: 2}
|
||||
backupType := "restic"
|
||||
if n.UseVolumeSnapshots {
|
||||
backupType = "snapshot"
|
||||
|
||||
@@ -1092,7 +1092,7 @@ func GetVersionList(veleroCli, veleroVersion string) []VeleroCLI2Version {
|
||||
|
||||
for _, veleroVersion := range veleroVersionList {
|
||||
veleroCLI2VersionList = append(veleroCLI2VersionList,
|
||||
VeleroCLI2Version{veleroVersion, ""})
|
||||
VeleroCLI2Version{VeleroVersion: veleroVersion, VeleroCLI: ""})
|
||||
}
|
||||
for i, veleroCli := range veleroCliList {
|
||||
if i == len(veleroVersionList)-1 {
|
||||
|
||||
Reference in New Issue
Block a user