unused write to field Spec

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
Tiger Kaovilai
2024-07-31 22:16:11 -04:00
parent 92b9e59fd5
commit ad6104b90a

View File

@@ -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
}