mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 04:55:22 +00:00
unused write to field Spec
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
@@ -613,12 +613,6 @@ func TestRestoreReconcile(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
if test.restore.Spec.ScheduleName != "" && test.backup != nil {
|
||||
expected.Spec = SpecPatch{
|
||||
BackupName: test.backup.Name,
|
||||
}
|
||||
}
|
||||
|
||||
if test.expectedStartTime != nil {
|
||||
expected.Status.StartTimestamp = test.expectedStartTime
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user